u-boot-brain/arch/arm/include/asm/arch-mx6
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
..
clock.h imx: clock support enet2 anatop clock support 2015-09-02 15:29:14 +02:00
crm_regs.h imx: clock support enet2 anatop clock support 2015-09-02 15:29:14 +02:00
gpio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
hab.h iMX: adding parsing to hab_status command 2015-07-10 10:00:14 +02:00
imx-regs.h mxc: ocotp fix hole in shadow registers 2015-09-02 15:39:51 +02:00
iomux.h pcie_imx: Add mx6solox support 2014-09-09 17:24:49 +02:00
mx6-ddr.h imx: mx6: ddr: add LPDDR2 support 2015-09-02 15:34:12 +02:00
mx6-pins.h imx: mx6ul: Add pins IOMUX head file 2015-08-02 11:05:06 +02:00
mx6dl_pins.h i.MX6DL/S: add drive-strength back to pads DISP0_DAT2/DAT10 2014-07-10 15:23:56 +02:00
mx6dl-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6q_pins.h imx6 SION bit has to be on for the pins that are used as ENET_REF_CLK 2014-02-19 10:57:25 +01:00
mx6q-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6sl_pins.h imx: mx6sl: Extend USDHC SD2 pins to support 8-wire use 2015-02-23 09:11:43 +01:00
mx6sl-ddr.h imx: mx6: ddr add dram io configuration and header file for i.MX6SL 2015-09-02 15:34:12 +02:00
mx6sx_pins.h imx: mx6sx enable SION for i2c pin mux 2015-05-19 15:13:24 +02:00
mx6sx-ddr.h mx6: Add support for the mx6solox variant 2014-07-10 15:29:16 +02:00
mx6ul_pins.h imx: mx6ul: Add pins IOMUX head file 2015-08-02 11:05:06 +02:00
mx6ul-ddr.h imx:mx6ul add dram spl configuration and header file 2015-08-02 11:05:09 +02:00
mxc_hdmi.h Merge git://git.denx.de/u-boot-arm 2013-07-31 11:30:38 +02:00
sys_proto.h imx-common: consolidate macros and prototypes into sys_proto.h 2015-09-02 15:29:14 +02:00