mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-12 15:53:21 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
This option has a bool type, not hex. Fix it and enable it if CONFIG_DM is on because Driver Model always requires malloc memory. Devices are scanned twice, before/after relocation. CONFIG_SYS_MALLOC_F should be enabled to use malloc memory before relocation. As it is board-independent, handle it globally. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Robert Baldyga <r.baldyga@samsung.com>
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
if TARGET_AM335X_EVM
|
|
|
|
config SYS_BOARD
|
|
default "am335x"
|
|
|
|
config SYS_VENDOR
|
|
default "ti"
|
|
|
|
config SYS_SOC
|
|
default "am33xx"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "am335x_evm"
|
|
|
|
config CONS_INDEX
|
|
int "UART used for console"
|
|
range 1 6
|
|
default 1
|
|
help
|
|
The AM335x SoC has a total of 6 UARTs (UART0 to UART5 as referenced
|
|
in documentation, etc) available to it. Depending on your specific
|
|
board you may want something other than UART0 as for example the IDK
|
|
uses UART3 so enter 4 here.
|
|
|
|
config NOR
|
|
bool "Support for NOR flash"
|
|
help
|
|
The AM335x SoC supports having a NOR flash connected to the GPMC.
|
|
In practice this is seen as a NOR flash module connected to the
|
|
"memory cape" for the BeagleBone family.
|
|
|
|
config NOR_BOOT
|
|
bool "Support for booting from NOR flash"
|
|
depends on NOR
|
|
help
|
|
Enabling this will make a U-Boot binary that is capable of being
|
|
booted via NOR. In this case we will enable certain pinmux early
|
|
as the ROM only partially sets up pinmux. We also default to using
|
|
NOR for environment.
|
|
|
|
config DM
|
|
default y
|
|
|
|
config DM_GPIO
|
|
default y if DM
|
|
|
|
config DM_SERIAL
|
|
default y if DM
|
|
|
|
endif
|