diff options
| author | Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> | 2020-07-22 10:43:39 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-07-22 23:11:00 -0700 |
| commit | 4898be78943d02be9bcbdae2ae970a5d6c2966cb (patch) | |
| tree | 27f395a8a053043549f9f2fed7af935352f7742b | |
| parent | df732ff4e5fc2a2ad27e07570be87565e1cd98cc (diff) | |
| download | meta-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.conf | 1 | ||||
| -rw-r--r-- | conf/machine/arria10.conf | 4 | ||||
| -rw-r--r-- | conf/machine/arria5.conf | 2 | ||||
| -rw-r--r-- | conf/machine/cyclone5.conf | 8 | ||||
| -rw-r--r-- | conf/machine/stratix10.conf | 1 | ||||
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-socfpga-common.inc | 17 |
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" | |||
| 7 | require conf/machine/include/socfpga_armv8a.inc | 7 | require conf/machine/include/socfpga_armv8a.inc |
| 8 | 8 | ||
| 9 | UBOOT_CONFIG ??= "agilex-socdk" | 9 | UBOOT_CONFIG ??= "agilex-socdk" |
| 10 | UBOOT_CONFIG[agilex-socdk] = "socfpga_agilex_defconfig" | ||
| 11 | 10 | ||
| 12 | KERNEL_DEVICETREE ?= "intel/socfpga_agilex_socdk.dtb" | 11 | KERNEL_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 | ||
| 10 | UBOOT_CONFIG ??= "arria10-socdk" | 10 | UBOOT_CONFIG ??= "arria10-socdk" |
| 11 | 11 | ||
| 12 | UBOOT_CONFIG[arria10-socdk] = "socfpga_arria10_defconfig" | ||
| 13 | UBOOT_CONFIG[arria10-socdk-nand] = "socfpga_arria10_nand_defconfig" | ||
| 14 | UBOOT_CONFIG[arria10-socdk-qspi] = "socfpga_arria10_qspi_defconfig" | ||
| 15 | |||
| 16 | KMACHINE = "arria10" | 12 | KMACHINE = "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 | ||
| 7 | UBOOT_CONFIG ??= "arria5-socdk" | 7 | UBOOT_CONFIG ??= "arria5-socdk" |
| 8 | 8 | ||
| 9 | UBOOT_CONFIG[arria5-socdk] = "socfpga_arria5_defconfig" | ||
| 10 | |||
| 11 | KMACHINE = "arria5" | 9 | KMACHINE = "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 | ||
| 7 | UBOOT_CONFIG ??= "cyclone5-socdk" | 7 | UBOOT_CONFIG ??= "cyclone5-socdk" |
| 8 | 8 | ||
| 9 | UBOOT_CONFIG[cyclone5-socdk] = "socfpga_cyclone5_defconfig" | ||
| 10 | UBOOT_CONFIG[de0-nano-soc] = "socfpga_de0_nano_soc_defconfig" | ||
| 11 | UBOOT_CONFIG[de10-nano-soc] = "socfpga_de10_nano_defconfig" | ||
| 12 | UBOOT_CONFIG[mcvevk] = "socfpga_mcvevk_defconfig" | ||
| 13 | UBOOT_CONFIG[sockit] = "socfpga_sockit_defconfig" | ||
| 14 | UBOOT_CONFIG[socrates] = "socfpga_socrates_defconfig" | ||
| 15 | UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig" | ||
| 16 | |||
| 17 | KMACHINE = "cyclone5" | 9 | KMACHINE = "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 @@ | |||
| 5 | require conf/machine/include/socfpga_armv8a.inc | 5 | require conf/machine/include/socfpga_armv8a.inc |
| 6 | 6 | ||
| 7 | UBOOT_CONFIG ??= "stratix10-socdk" | 7 | UBOOT_CONFIG ??= "stratix10-socdk" |
| 8 | UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig" | ||
| 9 | 8 | ||
| 10 | KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb" | 9 | KERNEL_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 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 12 | 12 | ||
| 13 | RPROVIDES_${PN} += "u-boot" | 13 | RPROVIDES_${PN} += "u-boot" |
| 14 | |||
| 15 | UBOOT_CONFIG[agilex-socdk] = "socfpga_agilex_defconfig" | ||
| 16 | UBOOT_CONFIG[agilex-socdk-qspi] = "socfpga_agilex_qspi_defconfig" | ||
| 17 | UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig" | ||
| 18 | UBOOT_CONFIG[arria10-socdk] = "socfpga_arria10_defconfig" | ||
| 19 | UBOOT_CONFIG[arria10-socdk-nand] = "socfpga_arria10_nand_defconfig" | ||
| 20 | UBOOT_CONFIG[arria10-socdk-qspi] = "socfpga_arria10_qspi_defconfig" | ||
| 21 | UBOOT_CONFIG[cyclone5-socdk] = "socfpga_cyclone5_defconfig" | ||
| 22 | UBOOT_CONFIG[de0-nano-soc] = "socfpga_de0_nano_soc_defconfig" | ||
| 23 | UBOOT_CONFIG[de10-nano-soc] = "socfpga_de10_nano_defconfig" | ||
| 24 | UBOOT_CONFIG[mcvevk] = "socfpga_mcvevk_defconfig" | ||
| 25 | UBOOT_CONFIG[sockit] = "socfpga_sockit_defconfig" | ||
| 26 | UBOOT_CONFIG[socrates] = "socfpga_socrates_defconfig" | ||
| 27 | UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig" | ||
| 28 | UBOOT_CONFIG[arria5-socdk] = "socfpga_arria5_defconfig" | ||
