diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-21 19:43:54 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-21 20:42:35 -0700 |
commit | d178a1c5b2b3d47a6380b7990a8a3f44b1cafe24 (patch) | |
tree | 9456fc37aca1f48be78aee37bd140b0efe9563ab /drivers/power/regulator/Kconfig | |
parent | 4082fce92498a64e5e543ad53a1ed5a5c02a64d1 (diff) | |
download | u-boot-imx-d178a1c5b2b3d47a6380b7990a8a3f44b1cafe24.zip u-boot-imx-d178a1c5b2b3d47a6380b7990a8a3f44b1cafe24.tar.gz u-boot-imx-d178a1c5b2b3d47a6380b7990a8a3f44b1cafe24.tar.bz2 |
spi: Correct device tree usage in spi_flash_decode_fdt()
This function currently searches the entire device tree for a node that
it thinks is relevant. But the node is known and is passed in. Correct the
code and enable it only with driver model, since only driver-model boards
will use it.
This avoids bringing in a large number of strings from fdtdec.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/power/regulator/Kconfig')
0 files changed, 0 insertions, 0 deletions