* Copyright (C) 2019
* Heiko Schocher, DENX Software Engineering, hs@denx.de
*/
-/ {
- binman {
- filename = "u-boot-dtb.bin";
- pad-byte = <0xff>;
- // Place dtb one sector before u-boot-nodtb.bin
- blob {
- filename = "u-boot.dtb";
- };
- u-boot-nodtb {
- filename = "u-boot-nodtb.bin";
- offset = <0x20000>;
- };
- };
+#include <config.h>
+/ {
chosen {
stdout-path = &serial0;
};
u-boot,dm-pre-reloc;
clock-frequency = <333333330>;
};
+
+#include "u-boot.dtsi"
}
#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;
CONFIG_PPC=y
CONFIG_SYS_IMMR=0xE0000000
-CONFIG_TEXT_BASE=0xfff60000
+CONFIG_TEXT_BASE=0xFFF40000
CONFIG_ENV_SIZE=0x4000
CONFIG_ENV_SECT_SIZE=0x20000
CONFIG_DEFAULT_DEVICE_TREE="socrates"
CONFIG_SYS_INIT_RAM_LOCK=y
# CONFIG_CMD_ERRATA is not set
CONFIG_TARGET_SOCRATES=y
+CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
CONFIG_L2_CACHE=y
CONFIG_ENABLE_36BIT_PHYS=y
CONFIG_SYS_MONITOR_LEN=786432
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_BOARD_SETUP=y
-CONFIG_SYS_MONITOR_BASE=0xFFF60000
+CONFIG_SYS_MONITOR_BASE=0xFFF40000
CONFIG_BOOTDELAY=1
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="run boot_nor"
CONFIG_CMD_EXT2=y
# CONFIG_CMD_IRQ is not set
CONFIG_OF_CONTROL=y
-CONFIG_OF_BOARD=y
CONFIG_ENV_IS_IN_FLASH=y
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
CONFIG_ENV_ADDR_REDUND=0xFFF00000