board_r: Detect ifc-nor flash at run-time
authorPankit Garg <pankit.garg@nxp.com>
Thu, 30 Apr 2020 10:24:05 +0000 (15:54 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 19 May 2020 03:52:08 +0000 (09:22 +0530)
commit62d3a58dcef90aeb2e2aae7349ecf6d7bce8d54a
treeb5d6cd8effe298504a2ac8fee5e38b26941dc202
parentc0be08a577567eb10230934b5fa9de6a9a106824
board_r: Detect ifc-nor flash at run-time

CONFIG_MTD_NOR_FLASH flag needs to be enable for all
boot sources,as all flash drivers need to compile in
TFA Boot.Probe ifc nor flash only when there is nor
flash available on board.So needs to detect ifc-nor
flash at run-time for probing.

Signed-off-by: Pankit Garg <pankit.garg@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
common/board_r.c