currently the only difference of t4160qds and t4240qds is u-boot configure,
the others are shared.
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
--- /dev/null
+#@TYPE: Machine
+#@DESCRIPTION: Machine configuration for running T4160QDS in 64-bit mode
+
+require e6500-64b.inc
+
+# TODO: fix 32bit build of u-boot
+UBOOT_MACHINES ?= "T4160QDS"
+KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
+ ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
+KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SYSVINIT_ENABLED_GETTYS = ""
+USE_VT = ""
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
--- /dev/null
+#@TYPE: Machine
+#@DESCRIPTION: Machine configuration for running T4160QDS in 32-bit mode
+
+require e6500.inc
+
+UBOOT_MACHINES ?= "T4160QDS"
+KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
+ ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
+KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
+
+JFFS2_ERASEBLOCK = "0x10000"
+
+SYSVINIT_ENABLED_GETTYS = ""
+USE_VT = ""
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+USE_VT = "0"
+BUILD_64BIT_KERNEL = "1"