On 6 November 2015 at 23:57, Thomas Chou <tho...@wytron.com.tw> wrote: > Convert cfi flash to driver model. > > Signed-off-by: Thomas Chou <tho...@wytron.com.tw> > --- > v2 > add dts binding. > add more help to Kconfig. > move struct platdata to top of file as Simon suggested. > v3 > change to MTD uclass. > v4 > fix fdt addr and size cells in cfi_flash_probe(). > move probe uclass to cfi_flash_dm_init(). > add comment as suggested by Stefan. > v5 > use uclass priv mtd_info instead of cfi_mtd_info[]. > > doc/device-tree-bindings/mtd/mtd-physmap.txt | 88 > ++++++++++++++++++++++++++++ > drivers/mtd/Kconfig | 11 ++++ > drivers/mtd/cfi_flash.c | 78 ++++++++++++++++++++++++ > 3 files changed, 177 insertions(+) > create mode 100644 doc/device-tree-bindings/mtd/mtd-physmap.txt
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot