summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>2020-07-22 10:43:39 +0000
committerKhem Raj <raj.khem@gmail.com>2020-07-22 23:11:00 -0700
commit4898be78943d02be9bcbdae2ae970a5d6c2966cb (patch)
tree27f395a8a053043549f9f2fed7af935352f7742b
parentdf732ff4e5fc2a2ad27e07570be87565e1cd98cc (diff)
downloadmeta-altera-4898be78943d02be9bcbdae2ae970a5d6c2966cb.tar.gz
u-boot-socfpga: move u-boot configs into include file
This will provide more flexibility in selecting the configs from machine configurations and better manageability in terms of the recipe parsing and maintenance. Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
-rw-r--r--conf/machine/agilex.conf1
-rw-r--r--conf/machine/arria10.conf4
-rw-r--r--conf/machine/arria5.conf2
-rw-r--r--conf/machine/cyclone5.conf8
-rw-r--r--conf/machine/stratix10.conf1
-rw-r--r--recipes-bsp/u-boot/u-boot-socfpga-common.inc17
6 files changed, 16 insertions, 17 deletions
diff --git a/conf/machine/agilex.conf b/conf/machine/agilex.conf
index 81709d0..d906153 100644
--- a/conf/machine/agilex.conf
+++ b/conf/machine/agilex.conf
@@ -7,7 +7,6 @@ KBUILD_DEFCONFIG ?= "defconfig"
7require conf/machine/include/socfpga_armv8a.inc 7require conf/machine/include/socfpga_armv8a.inc
8 8
9UBOOT_CONFIG ??= "agilex-socdk" 9UBOOT_CONFIG ??= "agilex-socdk"
10UBOOT_CONFIG[agilex-socdk] = "socfpga_agilex_defconfig"
11 10
12KERNEL_DEVICETREE ?= "intel/socfpga_agilex_socdk.dtb" 11KERNEL_DEVICETREE ?= "intel/socfpga_agilex_socdk.dtb"
13 12
diff --git a/conf/machine/arria10.conf b/conf/machine/arria10.conf
index 942a202..eb1367b 100644
--- a/conf/machine/arria10.conf
+++ b/conf/machine/arria10.conf
@@ -9,10 +9,6 @@ UBOOT_BINARY = "u-boot.img"
9 9
10UBOOT_CONFIG ??= "arria10-socdk" 10UBOOT_CONFIG ??= "arria10-socdk"
11 11
12UBOOT_CONFIG[arria10-socdk] = "socfpga_arria10_defconfig"
13UBOOT_CONFIG[arria10-socdk-nand] = "socfpga_arria10_nand_defconfig"
14UBOOT_CONFIG[arria10-socdk-qspi] = "socfpga_arria10_qspi_defconfig"
15
16KMACHINE = "arria10" 12KMACHINE = "arria10"
17 13
18# Default kernel devicetrees 14# Default kernel devicetrees
diff --git a/conf/machine/arria5.conf b/conf/machine/arria5.conf
index 0110fb1..bf0b315 100644
--- a/conf/machine/arria5.conf
+++ b/conf/machine/arria5.conf
@@ -6,8 +6,6 @@ require conf/machine/include/socfpga.inc
6 6
7UBOOT_CONFIG ??= "arria5-socdk" 7UBOOT_CONFIG ??= "arria5-socdk"
8 8
9UBOOT_CONFIG[arria5-socdk] = "socfpga_arria5_defconfig"
10
11KMACHINE = "arria5" 9KMACHINE = "arria5"
12 10
13# Default kernel devicetrees 11# Default kernel devicetrees
diff --git a/conf/machine/cyclone5.conf b/conf/machine/cyclone5.conf
index 728a4d8..13f5c8d 100644
--- a/conf/machine/cyclone5.conf
+++ b/conf/machine/cyclone5.conf
@@ -6,14 +6,6 @@ require conf/machine/include/socfpga.inc
6 6
7UBOOT_CONFIG ??= "cyclone5-socdk" 7UBOOT_CONFIG ??= "cyclone5-socdk"
8 8
9UBOOT_CONFIG[cyclone5-socdk] = "socfpga_cyclone5_defconfig"
10UBOOT_CONFIG[de0-nano-soc] = "socfpga_de0_nano_soc_defconfig"
11UBOOT_CONFIG[de10-nano-soc] = "socfpga_de10_nano_defconfig"
12UBOOT_CONFIG[mcvevk] = "socfpga_mcvevk_defconfig"
13UBOOT_CONFIG[sockit] = "socfpga_sockit_defconfig"
14UBOOT_CONFIG[socrates] = "socfpga_socrates_defconfig"
15UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig"
16
17KMACHINE = "cyclone5" 9KMACHINE = "cyclone5"
18 10
19# Default kernel devicetrees 11# Default kernel devicetrees
diff --git a/conf/machine/stratix10.conf b/conf/machine/stratix10.conf
index 2a514db..4b4ad3a 100644
--- a/conf/machine/stratix10.conf
+++ b/conf/machine/stratix10.conf
@@ -5,7 +5,6 @@
5require conf/machine/include/socfpga_armv8a.inc 5require conf/machine/include/socfpga_armv8a.inc
6 6
7UBOOT_CONFIG ??= "stratix10-socdk" 7UBOOT_CONFIG ??= "stratix10-socdk"
8UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig"
9 8
10KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb" 9KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb"
11 10
diff --git a/recipes-bsp/u-boot/u-boot-socfpga-common.inc b/recipes-bsp/u-boot/u-boot-socfpga-common.inc
index 2038545..3807bfd 100644
--- a/recipes-bsp/u-boot/u-boot-socfpga-common.inc
+++ b/recipes-bsp/u-boot/u-boot-socfpga-common.inc
@@ -10,4 +10,19 @@ PV_append = "+git${SRCPV}"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
13RPROVIDES_${PN} += "u-boot" 13RPROVIDES_${PN} += "u-boot"
14
15UBOOT_CONFIG[agilex-socdk] = "socfpga_agilex_defconfig"
16UBOOT_CONFIG[agilex-socdk-qspi] = "socfpga_agilex_qspi_defconfig"
17UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig"
18UBOOT_CONFIG[arria10-socdk] = "socfpga_arria10_defconfig"
19UBOOT_CONFIG[arria10-socdk-nand] = "socfpga_arria10_nand_defconfig"
20UBOOT_CONFIG[arria10-socdk-qspi] = "socfpga_arria10_qspi_defconfig"
21UBOOT_CONFIG[cyclone5-socdk] = "socfpga_cyclone5_defconfig"
22UBOOT_CONFIG[de0-nano-soc] = "socfpga_de0_nano_soc_defconfig"
23UBOOT_CONFIG[de10-nano-soc] = "socfpga_de10_nano_defconfig"
24UBOOT_CONFIG[mcvevk] = "socfpga_mcvevk_defconfig"
25UBOOT_CONFIG[sockit] = "socfpga_sockit_defconfig"
26UBOOT_CONFIG[socrates] = "socfpga_socrates_defconfig"
27UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig"
28UBOOT_CONFIG[arria5-socdk] = "socfpga_arria5_defconfig"