b97476965b
This commit supports booting from stm32 internal nor flash. spl U-Boot initializes the sdram memory, copies next image (e.g. standard U-Boot) to sdram & then jumps to entry point. Here are the flash memory addresses for U-Boot-spl & standard U-Boot: - spl U-Boot : 0x0800_0000 - standard U-Boot : 0x0800_8000 To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig) Signed-off-by: Vikas Manocha <vikas.manocha@st.com> [trini: Rework Kconfig logic a bit] Signed-off-by: Tom Rini <trini@konsulko.com>
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_STM32=y
|
|
CONFIG_STM32F7=y
|
|
CONFIG_TARGET_STM32F746_DISCO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="stm32f746-disco"
|
|
CONFIG_BOOTDELAY=3
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="U-Boot > "
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Hit SPACE in %d seconds to stop autoboot.\n"
|
|
CONFIG_AUTOBOOT_STOP_STR=" "
|
|
# CONFIG_CMD_IMLS is not set
|
|
CONFIG_CMD_SF=y
|
|
# CONFIG_CMD_FPGA is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_SNTP=y
|
|
CONFIG_CMD_DNS=y
|
|
CONFIG_CMD_LINK_LOCAL=y
|
|
CONFIG_CMD_TIMER=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_DM_SEQ_ALIAS=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_NETCONSOLE=y
|
|
CONFIG_CLK=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_PINCTRL=y
|
|
# CONFIG_PINCTRL_FULL is not set
|
|
CONFIG_PINCTRL_STM32=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_STM32_QSPI=y
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
# CONFIG_EFI_LOADER is not set
|
|
CONFIG_RAM=y
|
|
CONFIG_STM32_SDRAM=y
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_STM32F7_GPIO=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0xC00
|