u-boot-brain/drivers/misc
Peng Fan 7296a02358 mxc: ocotp fix hole in shadow registers
There is a hole in shadow registers address map of size 0x100
between bank 5 and bank 6 on iMX6QP, iMX6DQ, iMX6SDL, iMX6SX and iMX6UL.
Bank 5 ends at 0x6F0 and Bank 6 starts at 0x800. When reading the fuses,
we should account for this hole in address space.

Similar hole exists between bank 14 and bank 15 of size
0x80 on iMX6QP, iMX6DQ, iMX6SDL and iMX6SX.
Note: iMX6SL has only 0-7 banks and there is no hole.
Note: iMX6UL doesn't have this one.

When reading, we use register offset, so need to account for holes
to get the correct address.
When writing, we use bank/word index, there is no need to account
for holes, always use bank/word index from fuse map.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
2015-09-02 15:39:51 +02:00
..
ali512x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cbmem_console.c stdio: Pass device pointer to stdio methods 2014-07-23 14:07:23 +01:00
cros_ec_i2c.c cros_ec: exynos: Match up device tree with kernel version 2015-04-18 11:11:16 -06:00
cros_ec_lpc.c cros_ec: exynos: Match up device tree with kernel version 2015-04-18 11:11:16 -06:00
cros_ec_sandbox.c sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation 2015-05-14 18:49:34 -06:00
cros_ec_spi.c cros_ec: Handle the single duplex requirement in cros_ec 2015-05-05 20:58:19 -06:00
cros_ec.c cros_ec: Remove the old tunnel code 2015-08-05 21:06:16 -06:00
ds4510.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
fsl_debug_server.c driver/fsl_debug_server: Fix the DDR hide logic for LS2085a 2015-07-20 11:44:35 -07:00
fsl_ifc.c armv8/ls2085aqds: NAND boot support 2015-04-23 16:46:50 -07:00
fsl_iim.c arm: mx5: Add fuse supply enable in fsl_iim 2014-01-03 15:44:06 +01:00
fsl_sec_mon.c fsl_sec_mon: Add driver for Security Monitor block of Freescale 2015-03-05 12:04:59 -08:00
gpio_led.c gpio_led: add support for inverted polarity 2013-11-25 10:41:52 -05:00
i2c_eeprom_emul.c sandbox: Add missing errno.h includes in a few files 2015-05-14 18:49:34 -06:00
i2c_eeprom.c i2c_eeprom: include <linux/err.h> to fix build error 2015-01-05 17:45:15 -07:00
Kconfig drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
Makefile dm: test: Add a test for the system controller uclass 2015-07-21 17:39:33 -06:00
mc9sdz60.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_ocotp.c mxc: ocotp fix hole in shadow registers 2015-09-02 15:39:51 +02:00
mxs_ocotp.c mxs_ocotp: Shift the HBUS divider correctly 2015-09-02 15:26:13 +02:00
ns87308.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pca9551_led.c misc: led: pca9551_led: Fix problem with multiple blink frequencies 2015-07-27 15:01:57 -04:00
pdsp188x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
reset_sandbox.c sandbox: Use the reset driver to handle reset 2015-07-21 17:39:31 -06:00
reset-uclass.c dm: reset: Allow reset_walk() to return 2015-07-21 17:39:31 -06:00
smsc_lpc47m.c x86: superio: Add keyboard controller support to smsc_lpc47m driver 2015-08-26 07:54:12 -07:00
status_led.c cmd_led: Extend led command to support blinking and more leds 2015-04-23 09:43:08 -04:00
swap_case.c sandbox: Add missing errno.h includes in a few files 2015-05-14 18:49:34 -06:00
syscon_sandbox.c dm: test: Add a test for the system controller uclass 2015-07-21 17:39:33 -06:00
twl4030_led.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00