From 3757b33471fd089744b4c8a386feeeff32d70322 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Thu, 9 May 2019 10:14:53 +0000 Subject: [PATCH] conf/machine: introduce am65xx SOC family and new am65xx-hs-evm Signed-off-by: Denys Dmytriyenko --- conf/machine/am65xx-evm.conf | 7 +------ conf/machine/am65xx-hs-evm.conf | 23 +++++++++++++++++++++++ conf/machine/include/am65xx.inc | 7 +++++++ 3 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 conf/machine/am65xx-hs-evm.conf create mode 100644 conf/machine/include/am65xx.inc diff --git a/conf/machine/am65xx-evm.conf b/conf/machine/am65xx-evm.conf index 877b1a65..1113dbc9 100644 --- a/conf/machine/am65xx-evm.conf +++ b/conf/machine/am65xx-evm.conf @@ -2,7 +2,7 @@ #@NAME: AM65xx EVM #@DESCRIPTION: Machine configuration for the TI AM65xx EVM -require conf/machine/include/k3.inc +require conf/machine/include/am65xx.inc MACHINE_FEATURES += "touchscreen" @@ -28,8 +28,3 @@ WKS_FILE = "sdimage-bootpart.wks" IMAGE_BOOT_FILES = "u-boot.img" do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy" - -# Set the list of device targets for ti-pdk class recipes -TI_PDK_LIMIT_SOCS = "am65xx" -TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk" -TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0" diff --git a/conf/machine/am65xx-hs-evm.conf b/conf/machine/am65xx-hs-evm.conf new file mode 100644 index 00000000..1de37cf3 --- /dev/null +++ b/conf/machine/am65xx-hs-evm.conf @@ -0,0 +1,23 @@ +#@TYPE: Machine +#@NAME: AM65xx HS EVM +#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM + +require conf/machine/am65xx-evm.conf + +UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig" + +UBOOT_ENTRYPOINT = "0x82000000" +UBOOT_LOADADDRESS = "0x82000000" +UBOOT_RD_LOADADDRESS = "0x84000000" +UBOOT_RD_ENTRYPOINT = "0x84000000" + +SPL_BINARY = "tispl.bin_HS" +SPL_BINARYNAME = "tispl.bin" +UBOOT_BINARY = "u-boot.img_HS" +IMAGE_BOOT_FILES = "${UBOOT_BINARY}" + +TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" + +OPTEEMACHINE = "k3" +OPTEEFLAVOR = "am65x" +OPTEEOUTPUTMACHINE = "k3" diff --git a/conf/machine/include/am65xx.inc b/conf/machine/include/am65xx.inc new file mode 100644 index 00000000..d433ed10 --- /dev/null +++ b/conf/machine/include/am65xx.inc @@ -0,0 +1,7 @@ +require conf/machine/include/k3.inc +SOC_FAMILY_append = ":am65xx" + +# Set the list of device targets for ti-pdk class recipes +TI_PDK_LIMIT_SOCS = "am65xx" +TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk" +TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"