commit | 0f5c269f50768286402a6e7be79f6c620c5d1a21 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jan 21 19:43:54 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 21 20:42:35 2016 -0700 |
tree | 9456fc37aca1f48be78aee37bd140b0efe9563ab | |
parent | 6e4666bd1fb88b41f07c40026c0452dfd02967cc [diff] |
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>