mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-05 02:36:39 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Before this commit, the Kconfig menu in mach-uniphier only allowed us to choose one SoC to be compiled. Each SoC has its own defconfig file for the build-test coverage. Consequently, some defconfig files are duplicated with only the difference in CONFIG_DEFAULT_DEVICE_TREE and CONFIG_{SOC_NAME}=y. Now, most of board-specific parameters have been moved to device trees, so it makes sense to include init code of multiple SoCs into a single image as long as the SoCs have similar architecture. In fact, some SoCs of UniPhier family are very similar: - PH1-LD4 and PH1-sLD8 - PH1-LD6b and ProXstream2 (will be added in the upcoming commit) This commit will be helpful to merge some defconfig files for better maintainability. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
if ARCH_UNIPHIER
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "uniphier"
|
|
|
|
config UNIPHIER_SMP
|
|
bool
|
|
|
|
config ARCH_UNIPHIER_PH1_SLD3
|
|
bool "UniPhier PH1-sLD3 SoC"
|
|
select UNIPHIER_SMP
|
|
help
|
|
This enables support for UniPhier PH1-sLD3 SoC.
|
|
|
|
config ARCH_UNIPHIER_PH1_LD4
|
|
bool "UniPhier PH1-LD4 SoC"
|
|
depends on !ARCH_UNIPHIER_PH1_SLD3
|
|
help
|
|
This enables support for UniPhier PH1-LD4 SoC.
|
|
|
|
config ARCH_UNIPHIER_PH1_PRO4
|
|
bool "UniPhier PH1-Pro4 SoC"
|
|
select UNIPHIER_SMP
|
|
depends on !ARCH_UNIPHIER_PH1_SLD3 && \
|
|
!ARCH_UNIPHIER_PH1_LD4 && \
|
|
!ARCH_UNIPHIER_PH1_SLD8
|
|
help
|
|
This enables support for UniPhier PH1-Pro4 SoC.
|
|
|
|
config ARCH_UNIPHIER_PH1_SLD8
|
|
bool "UniPhier PH1-sLD8 SoC"
|
|
depends on !ARCH_UNIPHIER_PH1_SLD3
|
|
help
|
|
This enables support for UniPhier PH1-sLD8 SoC.
|
|
|
|
config MICRO_SUPPORT_CARD
|
|
bool "Use Micro Support Card"
|
|
help
|
|
This option provides support for the expansion board, available
|
|
on some UniPhier reference boards.
|
|
|
|
Say Y to use the on-board UART, Ether, LED devices.
|
|
|
|
config CMD_PINMON
|
|
bool "Enable boot mode pins monitor command"
|
|
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.
|
|
|
|
config CMD_DDRPHY_DUMP
|
|
bool "Enable dump command of DDR PHY parameters"
|
|
help
|
|
The command "ddrphy" shows the resulting parameters of DDR PHY
|
|
training; it is useful for the evaluation of DDR PHY training.
|
|
|
|
endif
|