diff options
author | Stephan Linz <linz@li-pro.net> | 2012-07-04 22:25:30 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-07-10 10:01:29 +0200 |
commit | 920c358781970057dc10df1c7e70c784cd4c7408 (patch) | |
tree | 4cd6795563056d97e3ec3b16b93f8ada6e964971 | |
parent | a1d2478e2d5011bed3e085033f11427fb1423efb (diff) | |
download | u-boot-imx-920c358781970057dc10df1c7e70c784cd4c7408.zip u-boot-imx-920c358781970057dc10df1c7e70c784cd4c7408.tar.gz u-boot-imx-920c358781970057dc10df1c7e70c784cd4c7408.tar.bz2 |
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 <linz@li-pro.net>
-rw-r--r-- | board/xilinx/dts/microblaze.dts | 1 | ||||
-rw-r--r-- | board/xilinx/microblaze-generic/dts/microblaze.dts | 7 | ||||
-rw-r--r-- | include/configs/microblaze-generic.h | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/board/xilinx/dts/microblaze.dts b/board/xilinx/dts/microblaze.dts new file mode 100644 index 0000000..bf984b0 --- /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 0000000..2033309 --- /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 e20eb08..9a0f9a1 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 |