summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds1685.c
diff options
context:
space:
mode:
authorCyrille Pitchen <cyrille.pitchen@atmel.com>2016-10-27 10:03:57 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:32 (GMT)
commit1e45a0fbde53f463be9927cbe7330b91c83dff98 (patch)
tree727b51744599f5a1ab68fe7272a3f2401839777d /drivers/rtc/rtc-ds1685.c
parenteed48c936b7a84a6d98d765d27e5adee730fdb05 (diff)
downloadlinux-1e45a0fbde53f463be9927cbe7330b91c83dff98.tar.xz
mtd: spi-nor: add a stateless method to support memory size above 128Mib
This patch provides an alternative mean to support memory above 16MiB (128Mib) by replacing 3byte address op codes by their associated 4byte address versions. Using the dedicated 4byte address op codes doesn't change the internal state of the SPI NOR memory as opposed to using other means such as updating a Base Address Register (BAR) and sending command to enter/leave the 4byte mode. Hence when a CPU reset occurs, early bootloaders don't need to be aware of BAR value or 4byte mode being enabled: they can still access the first 16MiB of the SPI NOR memory using the regular 3byte address op codes. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Tested-by: Vignesh R <vigneshr@ti.com> Acked-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1685.c')
0 files changed, 0 insertions, 0 deletions