diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 11:58:14 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-14 20:40:24 -0600 |
commit | 7d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad (patch) | |
tree | cb15f429190b6fc710104163226703b86de1db8f /cmd/cbfs.c | |
parent | e24091398d50961ece2fcb2924d7c37d329abc09 (diff) | |
download | u-boot-imx-7d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad.zip u-boot-imx-7d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad.tar.gz u-boot-imx-7d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad.tar.bz2 |
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>
Diffstat (limited to 'cmd/cbfs.c')
0 files changed, 0 insertions, 0 deletions