forked from u-boot/u-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: UniPhier: add Kconfig and defconfig
This commit allows to build Panasonic UniPhier family: PH1-LD4, PH1-Pro4, PH1-sLD8 Signed-off-by: Masahiro Yamada <[email protected]>
- Loading branch information
Showing
5 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
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 | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONFIG_SPL=y | ||
+S:CONFIG_ARM=y | ||
+S:CONFIG_ARCH_UNIPHIER=y | ||
+S:CONFIG_MACH_PH1_LD4=y | ||
CONFIG_NAND_DENALI=y | ||
CONFIG_SYS_NAND_DENALI_64BIT=y | ||
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8 | ||
S:CONFIG_SPL_NAND_DENALI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONFIG_SPL=y | ||
+S:CONFIG_ARM=y | ||
+S:CONFIG_ARCH_UNIPHIER=y | ||
+S:CONFIG_MACH_PH1_PRO4=y | ||
CONFIG_NAND_DENALI=y | ||
CONFIG_SYS_NAND_DENALI_64BIT=y | ||
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8 | ||
S:CONFIG_SPL_NAND_DENALI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONFIG_SPL=y | ||
+S:CONFIG_ARM=y | ||
+S:CONFIG_ARCH_UNIPHIER=y | ||
+S:CONFIG_MACH_PH1_SLD8=y | ||
CONFIG_NAND_DENALI=y | ||
CONFIG_SYS_NAND_DENALI_64BIT=y | ||
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8 | ||
S:CONFIG_SPL_NAND_DENALI=y |