[PATCH v5 1/6] mtd: dataflash: Replace C99 types with their kernel counterparts

Chris Healy cphealy at gmail.com
Sat Apr 22 17:31:59 PDT 2017


> diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c
> index f9e9bd1..a566231 100644
> --- a/drivers/mtd/devices/mtd_dataflash.c
> +++ b/drivers/mtd/devices/mtd_dataflash.c
> @@ -84,7 +84,7 @@
>
>

On a Freescale i.MX51 SoC I tested this full patchset with both the
AT45DB642D and AT45DB641E SPI NOR devices.  Both were correctly
identified:

With AT45DB642D part:
[    2.560788] mtd_dataflash spi0.1: at45db642d (8192 KBytes) pagesize
1024 bytes (OTP)
With AT45DB641E part:
[    2.572970] mtd_dataflash spi0.1: at45db641e (8192 KBytes) pagesize
256 bytes (OTP)

Tested-by: Chris Healy <cphealy at gmail.com>



More information about the linux-mtd mailing list