diff options
author | Heiko Schocher <hs@denx.de> | 2023-01-24 18:06:51 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-06 13:04:53 -0500 |
commit | a78b2538fdd7357a8f4bd439a4a148859c120785 (patch) | |
tree | c69e9ba8b9372a2ae85f9842f1a5e3adda3ba0f2 /board/socrates/socrates.c | |
parent | 12ae7bc83a9b16a43be805ff168845e7d2ed8472 (diff) | |
download | u-boot-a78b2538fdd7357a8f4bd439a4a148859c120785.zip u-boot-a78b2538fdd7357a8f4bd439a4a148859c120785.tar.gz u-boot-a78b2538fdd7357a8f4bd439a4a148859c120785.tar.bz2 |
powerpc/mpc85xx: drop socrates specific image creation
convert socrates board to use MPC85XX_HAVE_RESET_VECTOR and
disable CONFIG_OF_BOARD and use common u-boot.dtsi for
creating u-boot-dtb.bin.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/socrates/socrates.c')
-rw-r--r-- | board/socrates/socrates.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index 9c4dd18..1d63c81 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -217,23 +217,6 @@ int ft_board_setup(void *blob, struct bd_info *bd) } #endif /* CONFIG_OF_BOARD_SETUP */ -#if defined(CONFIG_OF_SEPARATE) -void *board_fdt_blob_setup(int *err) -{ - void *fw_dtb; - - *err = 0; - fw_dtb = (void *)(CONFIG_TEXT_BASE - CONFIG_ENV_SECT_SIZE); - if (fdt_magic(fw_dtb) != FDT_MAGIC) { - printf("DTB is not passed via %x\n", (u32)fw_dtb); - *err = -ENXIO; - return NULL; - } - - return fw_dtb; -} -#endif - int get_serial_clock(void) { return 333333330; |