summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2014-03-12 17:49:59 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2014-03-12 17:49:59 +1000
commitee89ef1f3bce7166f77bf57a1a093195ea58c898 (patch)
tree200cccbf3df4a19f1deacd0c9ba8bb853e30bb49
parente8c5169c110eaf4874640b4ee62c5756000c56e4 (diff)
downloadmeta-xilinx-ee89ef1f3bce7166f77bf57a1a093195ea58c898.tar.gz
zc706-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/zc706/zc706-zynq7-board.dtsi (renamed from conf/machine/boards/zc706/zc706-zynq7.dtsi)6
-rw-r--r--conf/machine/boards/zc706/zc706-zynq7-mmcblk0p2.dts11
-rw-r--r--conf/machine/boards/zc706/zc706-zynq7-ram.dts12
-rw-r--r--conf/machine/boards/zc706/zc706-zynq7.dts4
-rw-r--r--conf/machine/zc706-zynq7.conf11
5 files changed, 13 insertions, 31 deletions
diff --git a/conf/machine/boards/zc706/zc706-zynq7.dtsi b/conf/machine/boards/zc706/zc706-zynq7-board.dtsi
index 4051e4f3..ff473e1b 100644
--- a/conf/machine/boards/zc706/zc706-zynq7.dtsi
+++ b/conf/machine/boards/zc706/zc706-zynq7-board.dtsi
@@ -1,8 +1,12 @@
1/*
2 * ZC706 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 ZC706"; 7 model = "Xilinx ZC706";
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/zc706/zc706-zynq7-mmcblk0p2.dts b/conf/machine/boards/zc706/zc706-zynq7-mmcblk0p2.dts
deleted file mode 100644
index 57f51658..00000000
--- a/conf/machine/boards/zc706/zc706-zynq7-mmcblk0p2.dts
+++ /dev/null
@@ -1,11 +0,0 @@
1/*
2 * ZC706 DTS file header for sdcard/mmc partition 2 boot.
3 */
4
5/dts-v1/;
6/include/ "zc706-zynq7.dtsi"
7/ {
8 chosen {
9 bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 ro earlyprintk";
10 } ;
11} ;
diff --git a/conf/machine/boards/zc706/zc706-zynq7-ram.dts b/conf/machine/boards/zc706/zc706-zynq7-ram.dts
deleted file mode 100644
index 70bb5fd3..00000000
--- a/conf/machine/boards/zc706/zc706-zynq7-ram.dts
+++ /dev/null
@@ -1,12 +0,0 @@
1/*
2 * ZC706 DTS file header for ramdisk boot.
3 */
4
5/dts-v1/;
6/include/ "zc706-zynq7.dtsi"
7/ {
8 chosen {
9 bootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk";
10 linux,stdout-path = "/amba@0/serial@e0001000";
11 } ;
12} ;
diff --git a/conf/machine/boards/zc706/zc706-zynq7.dts b/conf/machine/boards/zc706/zc706-zynq7.dts
new file mode 100644
index 00000000..8d0ee781
--- /dev/null
+++ b/conf/machine/boards/zc706/zc706-zynq7.dts
@@ -0,0 +1,4 @@
1/dts-v1/;
2/include/ "zc706-zynq7-board.dtsi"
3/ {
4} ; \ No newline at end of file
diff --git a/conf/machine/zc706-zynq7.conf b/conf/machine/zc706-zynq7.conf
index 31cd2d95..eabc319a 100644
--- a/conf/machine/zc706-zynq7.conf
+++ b/conf/machine/zc706-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,7 +17,7 @@ UBOOT_MACHINE = "zynq_zc70x_config"
20 17
21SERIAL_CONSOLE = "115200 ttyPS0" 18SERIAL_CONSOLE = "115200 ttyPS0"
22 19
23MACHINE_DEVICETREE := "zc706/zc706-zynq7.dtsi \ 20MACHINE_DEVICETREE := " \
24 zc706/zc706-zynq7-ram.dts \ 21 zc706/zc706-zynq7-board.dtsi \
25 zc706/zc706-zynq7-mmcblk0p2.dts" 22 zc706/zc706-zynq7.dts \
26MACHINE_KCONFIG := "common/rtc.cfg" 23 "