Skip to content
Snippets Groups Projects
Commit 59ca5537 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: UniPhier: make pinmon command optional


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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent d58a9451
No related branches found
No related tags found
No related merge requests found
...@@ -29,4 +29,13 @@ config MACH_PH1_SLD8 ...@@ -29,4 +29,13 @@ config MACH_PH1_SLD8
endchoice 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 endmenu
...@@ -12,7 +12,7 @@ obj-y += dram_init.o ...@@ -12,7 +12,7 @@ obj-y += dram_init.o
obj-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o obj-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o
obj-$(CONFIG_UNIPHIER_SMP) += smp.o obj-$(CONFIG_UNIPHIER_SMP) += smp.o
obj-$(if $(CONFIG_SPL_BUILD),,y) += cmd_pinmon.o obj-$(CONFIG_CMD_PINMON) += cmd_pinmon.o
obj-y += board_common.o obj-y += board_common.o
obj-$(CONFIG_PFC_MICRO_SUPPORT_CARD) += support_card.o obj-$(CONFIG_PFC_MICRO_SUPPORT_CARD) += support_card.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment