]> git.sur5r.net Git - u-boot/commitdiff
microblaze: Wire up dts configuration
authorStephan Linz <linz@li-pro.net>
Wed, 4 Jul 2012 20:25:30 +0000 (22:25 +0200)
committerMichal Simek <monstr@monstr.eu>
Tue, 10 Jul 2012 08:01:29 +0000 (10:01 +0200)
    - enable OF control and embedded OF
    - set default device tree file name to 'microblaze'
    - add CPP to dtc proxy: board/xilinx/dts/microblaze.dts
    - add an empty but processable dts for microblaze-generic

Signed-off-by: Stephan Linz <linz@li-pro.net>
board/xilinx/dts/microblaze.dts [new file with mode: 0644]
board/xilinx/microblaze-generic/dts/microblaze.dts [new file with mode: 0644]
include/configs/microblaze-generic.h

diff --git a/board/xilinx/dts/microblaze.dts b/board/xilinx/dts/microblaze.dts
new file mode 100644 (file)
index 0000000..bf984b0
--- /dev/null
@@ -0,0 +1 @@
+/include/ BOARD_DTS
diff --git a/board/xilinx/microblaze-generic/dts/microblaze.dts b/board/xilinx/microblaze-generic/dts/microblaze.dts
new file mode 100644 (file)
index 0000000..2033309
--- /dev/null
@@ -0,0 +1,7 @@
+/dts-v1/;
+/ {
+       #address-cells = <1>;
+       #size-cells = <1>;
+       aliases {
+       } ;
+} ;
index e20eb0849cebfbd70ad474b9a7b0e19f973c332e..9a0f9a18071f92812a42b132e8932fe353baf92f 100644 (file)
 #define        CONFIG_MICROBLAZE       1
 #define        MICROBLAZE_V5           1
 
+/* Open Firmware DTS */
+#define CONFIG_OF_CONTROL      1
+#define CONFIG_OF_EMBED                1
+#define CONFIG_DEFAULT_DEVICE_TREE microblaze
+
 /* linear flash memory */
 #ifdef XILINX_FLASH_START
 #define        FLASH