diff options
author | Paresh Bhagat <p-bhagat@ti.com> | 2023-06-11 14:54:44 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-06-14 12:34:38 -0500 |
commit | 3e3b625c8100ebaedd749acf9cb48d18f04b9c6a (patch) | |
tree | fc74921ea577dddf9308f6a205208e81ee064608 /meta-ti-bsp/conf/machine | |
parent | e4dcd602af118630d684ab06dd7aa13f9deb6773 (diff) | |
download | meta-ti-3e3b625c8100ebaedd749acf9cb48d18f04b9c6a.tar.gz |
ti-extras: Add support for extra kernel/u-boot features
There are some features that will either never be accepted into the
upstream kernel, or are not ready to be accepted. ti-extras allows for
controlling the kernel and u-boot repos, breanches, and srcrevs to gain
access to those features via the TI_EXTRAS variable in the local.conf
file.
Initial support for TI_EXTRAS=tie-jailhouse is being added by this
patch.
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Acked-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine')
-rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 1 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-evm.conf | 1 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-extras.inc | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf index 9889ae38..548369ca 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | |||
@@ -3,6 +3,7 @@ | |||
3 | #@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core) | 3 | #@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core) |
4 | 4 | ||
5 | require conf/machine/include/k3r5.inc | 5 | require conf/machine/include/k3r5.inc |
6 | require conf/machine/include/ti-extras.inc | ||
6 | 7 | ||
7 | SYSFW_SOC = "am62x" | 8 | SYSFW_SOC = "am62x" |
8 | SYSFW_CONFIG = "evm" | 9 | SYSFW_CONFIG = "evm" |
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf index c4357be3..082a1ae7 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf | |||
@@ -3,6 +3,7 @@ | |||
3 | #@DESCRIPTION: Machine configuration for the TI AM62XX EVM | 3 | #@DESCRIPTION: Machine configuration for the TI AM62XX EVM |
4 | 4 | ||
5 | require conf/machine/include/am62xx.inc | 5 | require conf/machine/include/am62xx.inc |
6 | require conf/machine/include/ti-extras.inc | ||
6 | 7 | ||
7 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am625" | 8 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am625" |
8 | 9 | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-extras.inc b/meta-ti-bsp/conf/machine/include/ti-extras.inc new file mode 100644 index 00000000..db9d0826 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/ti-extras.inc | |||
@@ -0,0 +1,5 @@ | |||
1 | # Add TI_EXTRAS to machine overrides so we get access to e.g. 'jailhouse' | ||
2 | |||
3 | TI_EXTRAS ??= "" | ||
4 | MACHINEOVERRIDES =. "${@ '${TI_EXTRAS}:' if d.getVar('TI_EXTRAS').startswith('tie-') else ''}" | ||
5 | |||