eeprom: at25: Allow page sizes greater than 16 bit
For FRAM devices the page size is usually equal to the device size. Some
available devices are greater than 64kB, so a 32 bit variable must be
used.

The same change has to be done for the Linux driver. I'll try to
upstream this as soon as possible.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 960352f commit 9423e5b3208b372fd77987ed0cd04082c615b14f
@Christian Eggers Christian Eggers authored on 27 Jan 2020
Sascha Hauer committed on 27 Jan 2020
Showing 2 changed files
View
drivers/eeprom/at25.c
View
include/spi/eeprom.h