From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 9 Nov 2015 12:24:52 -0800 Subject: [U-Boot] [PATCH v5 2/3] cfi_flash: convert to driver model In-Reply-To: <1446883058-8321-2-git-send-email-thomas@wytron.com.tw> References: <1444289667-23775-1-git-send-email-thomas@wytron.com.tw> <1446883058-8321-1-git-send-email-thomas@wytron.com.tw> <1446883058-8321-2-git-send-email-thomas@wytron.com.tw> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 6 November 2015 at 23:57, Thomas Chou wrote: > Convert cfi flash to driver model. > > Signed-off-by: Thomas Chou > --- > 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