u-boot-brain/arch/arm
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
..
cpu arm, imx6: add aristainetos 2b board version 2015-09-02 15:38:16 +02:00
dts Merge branch 'master' of http://git.denx.de/u-boot-sunxi 2015-08-31 12:12:27 -04:00
imx-common imx: iomux-v3: add imx7d support for iomuxc 2015-09-02 15:31:33 +02:00
include mxc: ocotp fix hole in shadow registers 2015-09-02 15:39:51 +02:00
lib ARM: SPL: Use CONFIG_SPL_DM not CONFIG_DM 2015-08-12 20:48:07 -04:00
mach-at91 arm: at91: add support for mini-box picosam9g45 board 2015-08-21 15:47:04 +02:00
mach-bcm283x arm/mach-bcm283x/mbox: Flush and invalidate dcache when using fw mailbox 2015-08-12 20:47:42 -04:00
mach-davinci ARM: davinci: remove support for cam_enc_4xx 2015-08-20 12:55:50 -04:00
mach-exynos of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone ARM: k2l: Fix device speeds 2015-08-28 12:33:16 -04:00
mach-kirkwood arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-mvebu pci: mvebu: Add PCIe driver 2015-08-17 18:49:43 +02:00
mach-nomadik arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-orion5x arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-socfpga arm: socfpga: Make the pinmux table const u8 2015-08-23 11:56:20 +02:00
mach-tegra of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
mach-uniphier ARM: uniphier: enable SPL_OF_CONTROL 2015-08-31 00:25:06 +09:00
mach-versatile ARM: versatile: move SoC sources to mach-versatile 2015-02-21 08:23:51 -05:00
mach-zynq ARM: zynq: drop "optional" from board select in favor of ZC702 2015-08-19 11:27:21 +02:00
mvebu-common arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
config.mk arm: Include the .got section in the binary 2015-05-14 18:49:34 -06:00
Kconfig arm: Add SYS_L2CACHE_OFF Kconfig entry 2015-09-02 15:34:13 +02:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00