mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-10 13:16:16 +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>
31 lines
753 B
Plaintext
31 lines
753 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_UNIPHIER=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_ARCH_UNIPHIER_PH1_PRO4=y
|
|
CONFIG_MICRO_SUPPORT_CARD=y
|
|
CONFIG_SYS_TEXT_BASE=0x84000000
|
|
CONFIG_DEFAULT_DEVICE_TREE="uniphier-ph1-pro4-ref"
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_ENV_EXISTS is not set
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_CMD_TFTPPUT=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_TIME=y
|
|
# CONFIG_CMD_MISC is not set
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_SPL_SIMPLE_BUS=y
|
|
CONFIG_NAND_DENALI=y
|
|
CONFIG_SYS_NAND_DENALI_64BIT=y
|
|
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
|
CONFIG_SPL_NAND_DENALI=y
|
|
CONFIG_UNIPHIER_SERIAL=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_SPL_PINCTRL=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_XHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|