]> git.baikalelectronics.ru Git - uboot.git/commit
board: ti: j721e: Add support for HyperFlash detection
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 13 Aug 2020 09:26:16 +0000 (14:56 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 15 Sep 2020 13:21:52 +0000 (18:51 +0530)
commit190a4116d3169545418063cd4755fcfdbf54f8e7
tree8d2a5540c19cd7082fea316eac53f29aacd04a1f
parent517690a26c5048ab6a5e798ab06d39190df35fc1
board: ti: j721e: Add support for HyperFlash detection

On J7200 SoC OSPI and HypeFlash are muxed at HW level and only one of
them can be used at any time. J7200 EVM has both HyperFlash and OSPI
flash on board. There is a user switch (SW3.1) that can be toggled to
select OSPI flash vs HyperFlash.
Read the state of this switch via wkup_gpio0_6 line and fixup the DT
nodes to select OSPI vs HyperFlash

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
board/ti/j721e/evm.c