Searched hist:"7 d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/common/spl/ |
| H A D | spl.c | 7d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad Mon Jul 04 17:58:14 UTC 2016 Simon Glass <sjg@chromium.org> dm: spl: Bind in all devices in SPL with of-platdata
When CONFIG_OF_PLATDATA is enabled, we cannot use the u-boot,dm-pre-reloc device tree property since the device tree is not available. However, dt-platdata.c only includes devices which would have been present in the device tree, and we can assume that all such devices are needed for SPL. If they were not needed, they would have been omitted to save space.
So in this case, bind all devices regardless of the u-boot,dm-pre-reloc setting. This avoids needing to add a DM_FLAG_PRE_RELOC to every driver, thus affecting U-Boot proper also.
Signed-off-by: Simon Glass <sjg@chromium.org>
|