u-boot/arch/arm/include/asm/arch-omap5
pekon gupta 9352697aa0 board/ti/dra7xx: add support for parallel NOR
This patch adds support for parallel NOR device (S29GL512S10) present on J6-EVM.
The Flash device is connected to GPMC controller on chip-select[0] and accessed
as memory-mapped device. It has data-witdh=x16, capacity-64MBytes(512Mbits) and
is CFI compatible.

As multiple devices are share GPMC pins on this board, so following board
settings are required to detect NOR device:
     SW5.1 (NAND_BOOTn) = OFF (logic-1)
     SW5.2 (NOR_BOOTn)  = ON  (logic-0) /* Active-low */
     SW5.3 (eMMC_BOOTn) = OFF (logic-1)
     SW5.4 (QSPI_BOOTn) = OFF (logic-1)

And also set appropriate SYSBOOT configurations:
     SW3.1 (SYSBOOT[ 8])= ON  (logic-1) /* selects SYS_CLK1 speed */
     SW3.2 (SYSBOOT[ 9])= OFF (logic-0) /* selects SYS_CLK1 speed */
     SW3.3 (SYSBOOT[10])= ON  (logic-1) /* wait-pin monitoring = enabled */
     SW3.4 (SYSBOOT[11])= OFF (logic-0) /* device type: Non Muxed */
     SW3.5 (SYSBOOT[12])= OFF (logic-0) /* device type: Non Muxed */
     SW3.6 (SYSBOOT[13])= ON  (logic-1) /* device bus-width: 1(x16) */
     SW3.7 (SYSBOOT[14])= OFF (logic-0) /* reserved */
     SW3.8 (SYSBOOT[15])= ON  (logic-1) /* reserved */

Also, following changes are required to enable NOR Flash support in
dra7xx_evm board profile:
2014-08-25 10:48:12 -04:00
..
clock.h ARM: OMAP5: add CKO buffer control mask 2014-05-13 19:43:00 -04:00
cpu.h ARM: omap5: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
ehci.h arm: omap5: echi: Add GPL-2.0+ SPDX-License-Identifier 2013-09-20 10:30:54 -04:00
gpio.h SPDX-License-Identifier: fixing some problematic GPL-2.0 files 2013-08-19 15:34:13 -04:00
hardware.h ARM: omap5: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mem.h board/ti/dra7xx: add support for parallel NOR 2014-08-25 10:48:12 -04:00
mmc_host_def.h omap: consolidate common mmc definitions 2013-03-08 16:41:12 -05:00
mux_dra7xx.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mux_omap5.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
omap.h armv7:TI: Add <asm/ti-common/sys_proto.h> and migrate omap_hw_init_context 2014-05-23 19:40:05 -04:00
sata.h ARM: O5/dra7xx: Add SATA boot support 2014-02-19 10:47:45 -05:00
spl.h spl: Fix guardian macros in spl.h 2014-03-28 15:06:30 -04:00
sys_proto.h armv7:TI: Add <asm/ti-common/sys_proto.h> and migrate omap_hw_init_context 2014-05-23 19:40:05 -04:00