diff options
| author | Anshul Dalal <anshuld@ti.com> | 2025-06-27 11:34:14 +0530 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-06-27 10:05:00 -0500 |
| commit | 67b42e3b5d4ccd78f9fd6225c39f1800ba57a0d4 (patch) | |
| tree | cbe9976e1b2a3833b5e48443b5eca258f00c19cd | |
| parent | bef9e655eb478133697ac0c594cefdfe57b17f2f (diff) | |
| download | meta-ti-67b42e3b5d4ccd78f9fd6225c39f1800ba57a0d4.tar.gz | |
conf: machine: move UBOOT_*ADDRESS to top level ti-soc
Since all k3 and legacy platforms share common load addresses for kernel
and initrd in the fitImage, move them to top level ti-soc.inc.
No functional change is intended from this patch.
Signed-off-by: Anshul Dalal <anshuld@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
| -rw-r--r-- | meta-ti-bsp/conf/machine/am335x-hs-evm.conf | 5 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am437x-hs-evm.conf | 5 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am57xx-hs-evm.conf | 5 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf | 5 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 4 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-soc.inc | 6 |
6 files changed, 6 insertions, 24 deletions
diff --git a/meta-ti-bsp/conf/machine/am335x-hs-evm.conf b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf index ca102961..652496c2 100644 --- a/meta-ti-bsp/conf/machine/am335x-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf | |||
| @@ -10,11 +10,6 @@ UBOOT_CONFIG ??= "uart mmc" | |||
| 10 | UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config" | 10 | UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config" |
| 11 | UBOOT_CONFIG[mmc] = "am335x_hs_evm_config" | 11 | UBOOT_CONFIG[mmc] = "am335x_hs_evm_config" |
| 12 | 12 | ||
| 13 | UBOOT_ENTRYPOINT = "0x82000000" | ||
| 14 | UBOOT_LOADADDRESS = "0x82000000" | ||
| 15 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
| 16 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
| 17 | |||
| 18 | # FIT image for legacy secure devices | 13 | # FIT image for legacy secure devices |
| 19 | KERNEL_CLASSES += " kernel-fitimage-legacyhs" | 14 | KERNEL_CLASSES += " kernel-fitimage-legacyhs" |
| 20 | KERNEL_IMAGETYPES += " fitImage" | 15 | KERNEL_IMAGETYPES += " fitImage" |
diff --git a/meta-ti-bsp/conf/machine/am437x-hs-evm.conf b/meta-ti-bsp/conf/machine/am437x-hs-evm.conf index 632b4995..fde38d39 100644 --- a/meta-ti-bsp/conf/machine/am437x-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/am437x-hs-evm.conf | |||
| @@ -6,11 +6,6 @@ require conf/machine/am437x-evm.conf | |||
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am43xx_hs_evm_config" | 7 | UBOOT_MACHINE = "am43xx_hs_evm_config" |
| 8 | 8 | ||
| 9 | UBOOT_ENTRYPOINT = "0x82000000" | ||
| 10 | UBOOT_LOADADDRESS = "0x82000000" | ||
| 11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
| 12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
| 13 | |||
| 14 | OPTEEMACHINE = "ti-am43xx" | 9 | OPTEEMACHINE = "ti-am43xx" |
| 15 | OPTEEFLAVOR = "am43xx" | 10 | OPTEEFLAVOR = "am43xx" |
| 16 | 11 | ||
diff --git a/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf index 4f36a847..fcdc5c0b 100644 --- a/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf | |||
| @@ -6,11 +6,6 @@ require conf/machine/am57xx-evm.conf | |||
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am57xx_hs_evm_config" | 7 | UBOOT_MACHINE = "am57xx_hs_evm_config" |
| 8 | 8 | ||
| 9 | UBOOT_ENTRYPOINT = "0x82000000" | ||
| 10 | UBOOT_LOADADDRESS = "0x82000000" | ||
| 11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
| 12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
| 13 | |||
| 14 | OPTEEMACHINE = "ti-am57xx" | 9 | OPTEEMACHINE = "ti-am57xx" |
| 15 | OPTEEFLAVOR = "am57xx" | 10 | OPTEEFLAVOR = "am57xx" |
| 16 | OPTEEPAGER = "y" | 11 | OPTEEPAGER = "y" |
diff --git a/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf b/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf index 8e57a154..37ffef31 100644 --- a/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf | |||
| @@ -6,11 +6,6 @@ require conf/machine/dra7xx-evm.conf | |||
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "dra7xx_hs_evm_config" | 7 | UBOOT_MACHINE = "dra7xx_hs_evm_config" |
| 8 | 8 | ||
| 9 | UBOOT_ENTRYPOINT = "0x82000000" | ||
| 10 | UBOOT_LOADADDRESS = "0x82000000" | ||
| 11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
| 12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
| 13 | |||
| 14 | OPTEEMACHINE = "ti-dra7xx" | 9 | OPTEEMACHINE = "ti-dra7xx" |
| 15 | OPTEEFLAVOR = "dra7xx" | 10 | OPTEEFLAVOR = "dra7xx" |
| 16 | OPTEEPAGER = "y" | 11 | OPTEEPAGER = "y" |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index 3af292f8..692979d7 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
| @@ -13,10 +13,6 @@ KERNEL_IMAGETYPES = "Image fitImage" | |||
| 13 | KERNEL_CLASSES += "kernel-fitimage-deprecated" | 13 | KERNEL_CLASSES += "kernel-fitimage-deprecated" |
| 14 | 14 | ||
| 15 | UBOOT_ARCH = "arm" | 15 | UBOOT_ARCH = "arm" |
| 16 | UBOOT_ENTRYPOINT = "0x82000000" | ||
| 17 | UBOOT_LOADADDRESS = "0x82000000" | ||
| 18 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
| 19 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
| 20 | UBOOT_DTB_LOADADDRESS = "0x88000000" | 16 | UBOOT_DTB_LOADADDRESS = "0x88000000" |
| 21 | UBOOT_DTBO_LOADADDRESS = "0x88080000" | 17 | UBOOT_DTBO_LOADADDRESS = "0x88080000" |
| 22 | UBOOT_DTBO_OFFSET = "0x00010000" | 18 | UBOOT_DTBO_OFFSET = "0x00010000" |
diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc index 5d77e719..5125856f 100644 --- a/meta-ti-bsp/conf/machine/include/ti-soc.inc +++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc | |||
| @@ -3,6 +3,12 @@ | |||
| 3 | SOC_FAMILY = "ti-soc" | 3 | SOC_FAMILY = "ti-soc" |
| 4 | require conf/machine/include/soc-family.inc | 4 | require conf/machine/include/soc-family.inc |
| 5 | 5 | ||
| 6 | # kernel, initrd load addresses for the fitImage in all TI platforms | ||
| 7 | UBOOT_ENTRYPOINT = "0x82000000" | ||
| 8 | UBOOT_LOADADDRESS = "0x82000000" | ||
| 9 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
| 10 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
| 11 | |||
| 6 | # TI platforms all use devicetrees with overlays | 12 | # TI platforms all use devicetrees with overlays |
| 7 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" | 13 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" |
| 8 | KERNEL_DTB_OVERLAY_SUPPORT ?= "1" | 14 | KERNEL_DTB_OVERLAY_SUPPORT ?= "1" |
