mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
6a89465f3f
Instead of letting the compiler error out if CONFIG_ENV_IS_NOWHERE is not selected by the user, let's just enforce it when the user builds for Puma RK3399 so that no check needs to be performed by the compiler and the configuration is always valid. Suggested-by: Tom Rini <trini@konsulko.com> Cc: Quentin Schulz <foss+uboot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
34 lines
568 B
Text
34 lines
568 B
Text
if TARGET_PUMA_RK3399
|
|
|
|
config SYS_BOARD
|
|
default "puma_rk3399"
|
|
|
|
config SYS_VENDOR
|
|
default "theobroma-systems"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "puma_rk3399"
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select ENV_IS_NOWHERE
|
|
|
|
config ENV_SIZE
|
|
default 0x4000
|
|
|
|
choice
|
|
prompt "Theobroma Systems RK3399-Q7 DDR Option"
|
|
default TARGET_PUMA_RK3399_RAM_DDR3_1333
|
|
|
|
config TARGET_PUMA_RK3399_RAM_DDR3_1333
|
|
bool "DDR3-1333MHz"
|
|
|
|
config TARGET_PUMA_RK3399_RAM_DDR3_1600
|
|
bool "DDR3-1600MHz"
|
|
|
|
config TARGET_PUMA_RK3399_RAM_DDR3_1866
|
|
bool "DDR3-1866MHz"
|
|
|
|
endchoice
|
|
|
|
endif
|