diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2021-10-26 09:12:33 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-27 16:38:26 -0400 |
commit | e7fb789612e39653f9f20ad08ad40896c7f61742 (patch) | |
tree | 2a16e7d6ebd67449b5c0fca8f7841d879564889f /board/xilinx | |
parent | 670d657dfb6ede2957043dd0ac868297ac093857 (diff) | |
download | u-boot-e7fb789612e39653f9f20ad08ad40896c7f61742.zip u-boot-e7fb789612e39653f9f20ad08ad40896c7f61742.tar.gz u-boot-e7fb789612e39653f9f20ad08ad40896c7f61742.tar.bz2 |
sandbox: Remove OF_HOSTFILEWIP/27Oct2021
OF_HOSTFILE is used on sandbox configs only. Although it's pretty
unique and not causing any confusions, we are better of having simpler
config options for the DTB.
So let's replace that with the existing OF_BOARD. U-Boot would then
have only three config options for the DTB origin.
- OF_SEPARATE, build separately from U-Boot
- OF_BOARD, board specific way of providing the DTB
- OF_EMBED embedded in the u-boot binary(should not be used in production
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/common/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 9006bd3..78a5d0e 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -320,10 +320,11 @@ __maybe_unused int xilinx_read_eeprom(void) } #if defined(CONFIG_OF_BOARD) || defined(CONFIG_OF_SEPARATE) -void *board_fdt_blob_setup(void) +void *board_fdt_blob_setup(int *err) { void *fdt_blob; + *err = 0; if (!IS_ENABLED(CONFIG_SPL_BUILD) && !IS_ENABLED(CONFIG_VERSAL_NO_DDR) && !IS_ENABLED(CONFIG_ZYNQMP_NO_DDR)) { |