
28 Dec
2020
28 Dec
'20
5:26 p.m.
This code is a bit odd in that it only reads and updates the livetree version of the device ofnode. This means it won't work with flattree. Update the code to work as it was presumably intended.
Signed-off-by: Simon Glass sjg@chromium.org ---
drivers/mtd/nand/spi/core.c | 2 +- include/linux/mtd/mtd.h | 9 ++++----- include/linux/mtd/nand.h | 14 ++++++++++++++ include/linux/mtd/spi-nor.h | 2 ++ include/linux/mtd/spinand.h | 15 +++++++++++++++ 5 files changed, 36 insertions(+), 6 deletions(-)
Applied to u-boot-dm/next, thanks!