bootm: get file type before bootm_open_os_uimage
Using a  multi uimage stored in nand didn't work. Only one open for the
bb file is allowed. The file type detection after bootm_open_os_uimage
will fail. bootm_open_initrd_uimage and bootm_open_oftree_uimage already
check if they can reuse data->os.

Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5ec644e commit 39c858ede8fd3e15c15594699cf25cff2c1da3a2
@Jan Remmet Jan Remmet authored on 19 Nov 2015
Sascha Hauer committed on 20 Nov 2015
Showing 1 changed file
View
common/bootm.c