Searched hist:d178a1c5b2b3d47a6380b7990a8a3f44b1cafe24 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | spi_flash.c | d178a1c5b2b3d47a6380b7990a8a3f44b1cafe24 Fri Jan 22 02:43:54 UTC 2016 Simon Glass <sjg@chromium.org> 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>
|