mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 18:41:03 +00:00
59ca5537be
Add CONFIG_CMD_PINMON to UniPhier-specific Kconfig and make the "pinmon" command user-configurable. This command can be disabled via the configuration if users do not need it. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
41 lines
770 B
Text
41 lines
770 B
Text
menu "Panasonic UniPhier platform"
|
|
depends on ARCH_UNIPHIER
|
|
|
|
config SYS_CPU
|
|
string
|
|
default "armv7"
|
|
|
|
config SYS_SOC
|
|
string
|
|
default "uniphier"
|
|
|
|
config SYS_CONFIG_NAME
|
|
string
|
|
default "ph1_pro4" if MACH_PH1_PRO4
|
|
default "ph1_ld4" if MACH_PH1_LD4
|
|
default "ph1_sld8" if MACH_PH1_SLD8
|
|
|
|
choice
|
|
prompt "UniPhier SoC select"
|
|
|
|
config MACH_PH1_PRO4
|
|
bool "PH1-Pro4"
|
|
|
|
config MACH_PH1_LD4
|
|
bool "PH1-LD4"
|
|
|
|
config MACH_PH1_SLD8
|
|
bool "PH1-sLD8"
|
|
|
|
endchoice
|
|
|
|
config CMD_PINMON
|
|
bool "Enable boot mode pins monitor command"
|
|
depends on !SPL_BUILD
|
|
default y
|
|
help
|
|
The command "pinmon" shows the state of the boot mode pins.
|
|
The boot mode pins are latched when the system reset is deasserted
|
|
and determine which device the system should load a boot image from.
|
|
|
|
endmenu
|