
Hi Masahiro.
On 05/14/2014 02:55 PM, Masahiro Yamada wrote:
Zynq SoCs define CONFIG_OF_CONTROL and CONFIG_OF_SEPARATE, but it is not working.
One possible workaround was to edit include/configs/zynq-common.h to disable CONFIG_OF_CONTROL CONFIG_OF_SEPARATE CONFIG_DISPLAY_BOARDINFO_LATE CONFIG_FIT_SIGNATURE CONFIG_RSA
I am not satisfied with this temporal workaround.
My motivation is to run U-boot mainline on Zynq boards with OF control.
To achieve this, SPL must load u-boot-dtb.bin.
1/4 adds support u-boot-dtb.img (= uImage header + u-boot-dtb.bin)
2/4 switches to load u-boot-dtb.img.
3/4 and 4/4 add missing some nodes to device tree.
This series was tested on my ZC706 board.
I have tested it on zc702 and it is working correctly.
Tested-by: Michal Simek monstr@monstr.eu
Regarding patches 3/4 and 4/4 maybe will be just easier to add full DTS because you will want to use OF configuration for ethernet, mmc, usb, etc. Taken it from mainline kernel make sense.
Thanks, Michal