summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2014-03-12 17:49:25 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2014-03-12 17:49:25 +1000
commite8c5169c110eaf4874640b4ee62c5756000c56e4 (patch)
tree7b84c9da588e71730ec8affe0d493929c768e7f7
parent62d1fde75f96445025522c8739971d40d9c1c6b9 (diff)
downloadmeta-xilinx-e8c5169c110eaf4874640b4ee62c5756000c56e4.tar.gz
zc702-zynq7: Cleaned up device trees and configuration
* Cleaned up device trees, refactored the dts per boot args setup Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/boards/zc702/zc702-zynq7-board.dtsi (renamed from conf/machine/boards/zc702/zc702-zynq7.dtsi)6
-rw-r--r--conf/machine/boards/zc702/zc702-zynq7-mmcblk0p2.dts11
-rw-r--r--conf/machine/boards/zc702/zc702-zynq7-ram.dts11
-rw-r--r--conf/machine/boards/zc702/zc702-zynq7.dts4
-rw-r--r--conf/machine/zc702-zynq7.conf10
5 files changed, 13 insertions, 29 deletions
diff --git a/conf/machine/boards/zc702/zc702-zynq7.dtsi b/conf/machine/boards/zc702/zc702-zynq7-board.dtsi
index da746fcd..dfc453d5 100644
--- a/conf/machine/boards/zc702/zc702-zynq7.dtsi
+++ b/conf/machine/boards/zc702/zc702-zynq7-board.dtsi
@@ -1,8 +1,12 @@
1/*
2 * ZC702 DTS file header for generic boot.
3 */
4
1/include/ "zynq-7-base.dtsi" 5/include/ "zynq-7-base.dtsi"
2/ { 6/ {
3 model = "Xilinx ZC702"; 7 model = "Xilinx ZC702";
4 chosen { 8 chosen {
5 bootargs = "console=ttyPS0,115200 earlyprintk"; 9 bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/ram rw";
6 linux,stdout-path = "/amba@0/serial@e0001000"; 10 linux,stdout-path = "/amba@0/serial@e0001000";
7 } ; 11 } ;
8 ps7_ddr_0: memory@0 { 12 ps7_ddr_0: memory@0 {
diff --git a/conf/machine/boards/zc702/zc702-zynq7-mmcblk0p2.dts b/conf/machine/boards/zc702/zc702-zynq7-mmcblk0p2.dts
deleted file mode 100644
index 9646ce1f..00000000
--- a/conf/machine/boards/zc702/zc702-zynq7-mmcblk0p2.dts
+++ /dev/null
@@ -1,11 +0,0 @@
1/*
2 * ZC702 DTS file header for sdcard/mmc partition 2 boot.
3 */
4
5/dts-v1/;
6/include/ "zc702-zynq7.dtsi"
7/ {
8 chosen {
9 bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 ro earlyprintk";
10 } ;
11} ;
diff --git a/conf/machine/boards/zc702/zc702-zynq7-ram.dts b/conf/machine/boards/zc702/zc702-zynq7-ram.dts
deleted file mode 100644
index c235298f..00000000
--- a/conf/machine/boards/zc702/zc702-zynq7-ram.dts
+++ /dev/null
@@ -1,11 +0,0 @@
1/*
2 * ZC702 DTS file header for ramdisk boot.
3 */
4
5/dts-v1/;
6/include/ "zc702-zynq7.dtsi"
7/ {
8 chosen {
9 bootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk";
10 } ;
11} ;
diff --git a/conf/machine/boards/zc702/zc702-zynq7.dts b/conf/machine/boards/zc702/zc702-zynq7.dts
new file mode 100644
index 00000000..6dea1a53
--- /dev/null
+++ b/conf/machine/boards/zc702/zc702-zynq7.dts
@@ -0,0 +1,4 @@
1/dts-v1/;
2/include/ "zc702-zynq7-board.dtsi"
3/ {
4} ; \ No newline at end of file
diff --git a/conf/machine/zc702-zynq7.conf b/conf/machine/zc702-zynq7.conf
index ce18e052..10984e7c 100644
--- a/conf/machine/zc702-zynq7.conf
+++ b/conf/machine/zc702-zynq7.conf
@@ -9,9 +9,6 @@
9# For the FSBL 'zynq_fsbl_0.elf' refer to UG873 and the associated design files. 9# For the FSBL 'zynq_fsbl_0.elf' refer to UG873 and the associated design files.
10# 10#
11 11
12PREFERRED_VERSION_linux-xlnx ?= "3.8%"
13PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%"
14
15require conf/machine/include/tune-zynq.inc 12require conf/machine/include/tune-zynq.inc
16require conf/machine/include/machine-xilinx-default.inc 13require conf/machine/include/machine-xilinx-default.inc
17 14
@@ -20,8 +17,9 @@ UBOOT_MACHINE = "zynq_zc70x_config"
20 17
21SERIAL_CONSOLE = "115200 ttyPS0" 18SERIAL_CONSOLE = "115200 ttyPS0"
22 19
23MACHINE_DEVICETREE := "zc702/zc702-zynq7.dtsi \ 20MACHINE_DEVICETREE := " \
24 zc702/zc702-zynq7-ram.dts \ 21 zc702/zc702-zynq7-board.dtsi \
25 zc702/zc702-zynq7-mmcblk0p2.dts" 22 zc702/zc702-zynq7.dts \
23 "
26 24
27MACHINE_KCONFIG := "common/rtc.cfg" 25MACHINE_KCONFIG := "common/rtc.cfg"