diff options
author | Denys Dmytriyenko <denys@ti.com> | 2020-05-27 21:56:12 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2020-05-28 01:11:05 +0000 |
commit | df3d0dd66e5b5137be94743a400556b028f36a07 (patch) | |
tree | 618c1830ce7e41a1e5bcac91d8eaf96e2b273017 | |
parent | f8f0f083b5c3842a473226aae1d1383fb0c985b8 (diff) | |
download | meta-ti-df3d0dd66e5b5137be94743a400556b028f36a07.tar.gz |
conf/machine: unify common AM65x GP and HS settings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | conf/machine/am65xx-evm.conf | 24 | ||||
-rw-r--r-- | conf/machine/am65xx-hs-evm.conf | 23 | ||||
-rw-r--r-- | conf/machine/include/am65xx.inc | 24 |
3 files changed, 24 insertions, 47 deletions
diff --git a/conf/machine/am65xx-evm.conf b/conf/machine/am65xx-evm.conf index 0007377c..2f3b92a8 100644 --- a/conf/machine/am65xx-evm.conf +++ b/conf/machine/am65xx-evm.conf | |||
@@ -6,32 +6,8 @@ require conf/machine/include/am65xx.inc | |||
6 | 6 | ||
7 | BBMULTICONFIG += "k3r5-sr2" | 7 | BBMULTICONFIG += "k3r5-sr2" |
8 | 8 | ||
9 | MACHINE_FEATURES += "touchscreen" | ||
10 | |||
11 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" | ||
12 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
13 | |||
14 | KERNEL_DEVICETREE = " \ | ||
15 | ti/k3-am654-base-board.dtb \ | ||
16 | ti/k3-am654-base-board-sr1.dtb \ | ||
17 | ti/k3-am654-gp.dtbo \ | ||
18 | ti/k3-am654-idk.dtbo \ | ||
19 | ti/k3-am654-idk-sr1.dtbo \ | ||
20 | ti/k3-am654-evm-hdmi.dtbo \ | ||
21 | ti/k3-am654-evm-oldi-lcd1evm.dtbo \ | ||
22 | ti/k3-am654-evm-tc358876.dtbo \ | ||
23 | ti/k3-am654-pcie-usb2.dtbo \ | ||
24 | ti/k3-am654-pcie-usb3.dtbo \ | ||
25 | ti/k3-am654-base-board-jailhouse.dtbo \ | ||
26 | ti/k3-am654-evm-prupwm.dtbo \ | ||
27 | " | ||
28 | |||
29 | UBOOT_MACHINE = "am65x_evm_a53_defconfig" | 9 | UBOOT_MACHINE = "am65x_evm_a53_defconfig" |
30 | 10 | ||
31 | OPTEEMACHINE = "k3" | ||
32 | OPTEEFLAVOR = "am65x" | ||
33 | OPTEEOUTPUTMACHINE = "k3" | ||
34 | |||
35 | IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" | 11 | IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" |
36 | do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | 12 | do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" |
37 | do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | 13 | do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" |
diff --git a/conf/machine/am65xx-hs-evm.conf b/conf/machine/am65xx-hs-evm.conf index 702ba308..e4eebb6a 100644 --- a/conf/machine/am65xx-hs-evm.conf +++ b/conf/machine/am65xx-hs-evm.conf | |||
@@ -4,27 +4,8 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/am65xx.inc | 5 | require conf/machine/include/am65xx.inc |
6 | 6 | ||
7 | MACHINE_FEATURES += "touchscreen" | ||
8 | |||
9 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" | ||
10 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
11 | |||
12 | KERNEL_DEVICETREE = " \ | ||
13 | ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \ | ||
14 | ti/k3-am654-evm-hdmi.dtbo ti/k3-am654-idk.dtbo \ | ||
15 | ti/k3-am654-idk-sr1.dtbo \ | ||
16 | ti/k3-am654-evm-oldi-lcd1evm.dtbo ti/k3-am654-evm-tc358876.dtbo \ | ||
17 | ti/k3-am654-pcie-usb2.dtbo ti/k3-am654-pcie-usb3.dtbo \ | ||
18 | ti/k3-am654-base-board-jailhouse.dtbo \ | ||
19 | ti/k3-am654-evm-prupwm.dtbo \ | ||
20 | " | ||
21 | |||
22 | UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig" | 7 | UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig" |
23 | 8 | ||
24 | OPTEEMACHINE = "k3" | ||
25 | OPTEEFLAVOR = "am65x" | ||
26 | OPTEEOUTPUTMACHINE = "k3" | ||
27 | |||
28 | UBOOT_ENTRYPOINT = "0x80080000" | 9 | UBOOT_ENTRYPOINT = "0x80080000" |
29 | UBOOT_LOADADDRESS = "0x80080000" | 10 | UBOOT_LOADADDRESS = "0x80080000" |
30 | UBOOT_RD_LOADADDRESS = "0x84000000" | 11 | UBOOT_RD_LOADADDRESS = "0x84000000" |
@@ -39,7 +20,3 @@ UBOOT_BINARY = "u-boot.img_HS" | |||
39 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | 20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" |
40 | 21 | ||
41 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | 22 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" |
42 | |||
43 | OPTEEMACHINE = "k3" | ||
44 | OPTEEFLAVOR = "am65x" | ||
45 | OPTEEOUTPUTMACHINE = "k3" | ||
diff --git a/conf/machine/include/am65xx.inc b/conf/machine/include/am65xx.inc index d433ed10..f60d1662 100644 --- a/conf/machine/include/am65xx.inc +++ b/conf/machine/include/am65xx.inc | |||
@@ -1,6 +1,30 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | SOC_FAMILY_append = ":am65xx" | 2 | SOC_FAMILY_append = ":am65xx" |
3 | 3 | ||
4 | MACHINE_FEATURES += "touchscreen" | ||
5 | |||
6 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | KERNEL_DEVICETREE = " \ | ||
10 | ti/k3-am654-base-board.dtb \ | ||
11 | ti/k3-am654-base-board-sr1.dtb \ | ||
12 | ti/k3-am654-gp.dtbo \ | ||
13 | ti/k3-am654-idk.dtbo \ | ||
14 | ti/k3-am654-idk-sr1.dtbo \ | ||
15 | ti/k3-am654-evm-hdmi.dtbo \ | ||
16 | ti/k3-am654-evm-oldi-lcd1evm.dtbo \ | ||
17 | ti/k3-am654-evm-tc358876.dtbo \ | ||
18 | ti/k3-am654-pcie-usb2.dtbo \ | ||
19 | ti/k3-am654-pcie-usb3.dtbo \ | ||
20 | ti/k3-am654-base-board-jailhouse.dtbo \ | ||
21 | ti/k3-am654-evm-prupwm.dtbo \ | ||
22 | " | ||
23 | |||
24 | OPTEEMACHINE = "k3" | ||
25 | OPTEEFLAVOR = "am65x" | ||
26 | OPTEEOUTPUTMACHINE = "k3" | ||
27 | |||
4 | # Set the list of device targets for ti-pdk class recipes | 28 | # Set the list of device targets for ti-pdk class recipes |
5 | TI_PDK_LIMIT_SOCS = "am65xx" | 29 | TI_PDK_LIMIT_SOCS = "am65xx" |
6 | TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk" | 30 | TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk" |