mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![]() This function can fail if the device tree runs out of space. Rather than silently booting with an incomplete device tree, allow the failure to be detected. Unfortunately this involves changing a lot of places in the code. I have not changed behvaiour to return an error where one is not currently returned, to avoid unexpected breakage. Eventually it would be nice to allow boards to register functions to be called to update the device tree. This would avoid all the many functions to do this. However it's not clear yet if this should be done using driver model or with a linker list. This work is left for later. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> |
||
---|---|---|
.. | ||
ddr.c | ||
diu.c | ||
Kconfig | ||
law.c | ||
MAINTAINERS | ||
Makefile | ||
p1022ds.c | ||
README | ||
spl_minimal.c | ||
spl.c | ||
tlb.c |
Overview -------- P1022ds is a Low End Dual core platform supporting the P1022 processor of QorIQ series. P1022 is an e500 based dual core SOC. Pin Multiplex(hwconfig setting) ------------------------------- Add the environment 'usb2', 'audclk' and 'tdm' to support pin multiplex via hwconfig, i.e: 'setenv hwconfig usb2' to enable USB2 and disable eTsec2 'setenv hwconfig tdm' to enable TDM and disable Audio 'setenv hwconfig audclk:12' to enable Audio(codec clock sources is 12MHz) and disable TDM 'setenv hwconfig 'usb2;tdm' to enable USB2 and TDM, disable eTsec2 and Audio 'setenv hwconfig 'usb2;audclk:11' to enable USB2 and Audio(codec clock sources is 11MHz), disable eTsec2 and TDM Warning: TDM and AUDIO can not enable simultaneous ! and AUDIO codec clock sources only setting as 11MHz or 12MHz ! 'setenv hwconfig 'audclk:12;tdm' --- error ! 'setenv hwconfig 'audclk:11;tdm' --- error ! 'setenv hwconfig 'audclk:10' --- error !