]> code.ossystems Code Review - meta-freescale.git/commitdiff
p2020rdb: add machine conf
authorChunrong Guo <chunrong.guo@nxp.com>
Thu, 25 Jan 2018 06:28:35 +0000 (14:28 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 26 Jan 2018 18:48:49 +0000 (16:48 -0200)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
conf/machine/p2020rdb.conf [new file with mode: 0644]

diff --git a/conf/machine/p2020rdb.conf b/conf/machine/p2020rdb.conf
new file mode 100644 (file)
index 0000000..54e35df
--- /dev/null
@@ -0,0 +1,28 @@
+#@TYPE: Machine
+#@Name: NXP P2020RDB
+#@SOC: p2020
+#@DESCRIPTION: Machine configuration for NXP QorIQ P2020 Reference
+#              Design Board with ppce500v2 core
+#@MAINTAINER: Chunrong Guo <chunrong.guo@nxp.com>
+
+require conf/machine/include/e500v2.inc
+
+MACHINEOVERRIDES =. "p2020:"
+BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
+
+UBOOT_CONFIG ??= "nor nand sdcard spi 36bit-nor 36bit-spi 36bit-nand 36bit-sdcard"
+UBOOT_CONFIG[nor] = "P2020RDB-PC_config,,u-boot.bin"
+UBOOT_CONFIG[nand] = "P2020RDB-PC_NAND_config,,u-boot.bin"
+UBOOT_CONFIG[sdcard] = "P2020RDB-PC_SDCARD_config,,u-boot.bin"
+UBOOT_CONFIG[spi] = "P2020RDB-PC_SPIFLASH_config,,u-boot.bin"
+UBOOT_CONFIG[36bit-nor] = "P2020RDB-PC_36BIT_config,,u-boot.bin"
+UBOOT_CONFIG[36bit-spi] = "P2020RDB-PC_36BIT_SPIFLASH_config,,u-boot.bin"
+UBOOT_CONFIG[36bit-nand] = "P2020RDB-PC_36BIT_NAND_config,,u-boot.bin"
+UBOOT_CONFIG[36bit-sdcard] = "P2020RDB-PC_36BIT_SDCARD_config,,u-boot.bin"
+
+KERNEL_DEVICETREE ?= "p2020rdb-pc_32b.dtb"
+KERNEL_DEFCONFIG ?= "mpc85xx_smp_defconfig"
+
+JFFS2_ERASEBLOCK = "0x20000"
+
+USE_VT ?= "0"