spl: fit: Always enable tracking of os-type if SPL_OS_BOOT is enabled
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 26 Apr 2019 13:21:25 +0000 (15:21 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 5 May 2019 12:48:50 +0000 (08:48 -0400)
commit7296a336cafec0463a249c67ad586a99ff132cee
treeacc4cbd592844cc6e0bf66d79e19ab98dee8de98
parent1b1d8c19f5b4b799232eee70e8916cd2491872ec
spl: fit: Always enable tracking of os-type if SPL_OS_BOOT is enabled

FIT_IMAGE_TINY is used to reduce the size of the SPL by removing os-type
tracking and recording the loadables into the loaded FDT. When this option
is enabled, it is assumed that the next stage firmware is u-boot.
However this does not play well with the SPL_OS_BOOT option that enables
loading different type of next stage firmware, like the OS itself.

When SPL_OS_BOOT is used, do not disable os-tracking. The added footprint
is about 300 Bytes.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
common/spl/spl_fit.c