[U-Boot] [PATCH v9 30/49] spi: Correct device tree usage in spi_flash_decode_fdt()
Simon Glass
sjg at chromium.org
Fri Jan 22 16:18:31 CET 2016
On 21 January 2016 at 19:43, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v9: None
> Changes in v2: None
>
> drivers/mtd/spi/spi_flash.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)
Applied to u-boot-rockchip.
More information about the U-Boot
mailing list