Commit c91d0c74cfe4c6c6e155392a6b057fa868719297
Committed by
Albert ARIBAUD
1 parent
9e0802bf82
Exists in
master
and in
50 other branches
zynq: Enable CONFIG_DEFAULT_DEVICE_TREE
Enabled default dts files on respective pre-board config files this is way MAKEALL will works. and it's upto user to build specific dts by specifying at build time. $ make zynq_zc70x_config $ make --> with default dts zynq-zc702.dts or $ make DEVICE_TREE=zynq-zc702 --> Same configuration with zynq-zc706.dts Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Showing 4 changed files with 6 additions and 0 deletions Side-by-side Diff
include/configs/zynq_microzed.h
include/configs/zynq_zc70x.h
include/configs/zynq_zc770.h
... | ... | @@ -20,15 +20,18 @@ |
20 | 20 | # define CONFIG_ZYNQ_GEM_PHY_ADDR0 7 |
21 | 21 | # define CONFIG_ZYNQ_SDHCI0 |
22 | 22 | # define CONFIG_ZYNQ_SPI |
23 | +# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm010 | |
23 | 24 | |
24 | 25 | #elif defined(CONFIG_ZC770_XM012) |
25 | 26 | # define CONFIG_ZYNQ_SERIAL_UART1 |
26 | 27 | # undef CONFIG_SYS_NO_FLASH |
28 | +# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm012 | |
27 | 29 | |
28 | 30 | #elif defined(CONFIG_ZC770_XM013) |
29 | 31 | # define CONFIG_ZYNQ_SERIAL_UART0 |
30 | 32 | # define CONFIG_ZYNQ_GEM1 |
31 | 33 | # define CONFIG_ZYNQ_GEM_PHY_ADDR1 7 |
34 | +# define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm013 | |
32 | 35 | |
33 | 36 | #else |
34 | 37 | # define CONFIG_ZYNQ_SERIAL_UART0 |