From: Stephan Linz Date: Wed, 4 Jul 2012 20:25:30 +0000 (+0200) Subject: microblaze: Wire up dts configuration X-Git-Tag: v2012.10-rc1~416^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=920c358781970057dc10df1c7e70c784cd4c7408;p=oweals%2Fu-boot.git microblaze: Wire up dts configuration - 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 --- diff --git a/board/xilinx/dts/microblaze.dts b/board/xilinx/dts/microblaze.dts new file mode 100644 index 0000000000..bf984b0cfd --- /dev/null +++ b/board/xilinx/dts/microblaze.dts @@ -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 index 0000000000..203330987b --- /dev/null +++ b/board/xilinx/microblaze-generic/dts/microblaze.dts @@ -0,0 +1,7 @@ +/dts-v1/; +/ { + #address-cells = <1>; + #size-cells = <1>; + aliases { + } ; +} ; diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index e20eb0849c..9a0f9a1807 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -31,6 +31,11 @@ #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