Extend FIP io driver to support multiple FIP devices
authorRuchika Gupta <ruchika.gupta@nxp.com>
Wed, 27 Jun 2018 06:48:22 +0000 (12:18 +0530)
committerRuchika Gupta <ruchika.gupta@nxp.com>
Mon, 2 Jul 2018 04:21:59 +0000 (09:51 +0530)
commitd4d598e92fe88ca3e60f41ff2f621aac176a02a6
treed51ca812bb10f050be7ce3b74c33e74481e3c5f9
parentf790cc0a9c492cf3615c82574e2c3f1ff8af0a3d
Extend FIP io driver to support multiple FIP devices

Platform can define MAX_NUM_FIP_DEVICES in platform_def.h
to define the number of FIP io devices.

The FIP driver doesn't support muliple open file.
So only one single file can be open at a time across
multiple FIP devices.

For any FIP device, an image should be loaded
fully before moving on to the next image.

Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com>
drivers/io/io_fip.c