
Hi Mark,
Could fallback here instead be "location->name" as before, keeping compability with the current implementation? I.e.
- if (!splash_file)
splash_file = location->name;
Can you point me to the 3 upstream boards which are relying on this?
Is it compulab/cm_fx6, compulab/cm_t35, and menlo/m53menlo?
compulab/cm_fx6 uses .name = "nand" and SPLASH_STORAGE_RAW. Thus it is not be affected by changes in splash_load_fit().
http://git.denx.de/?p=u-boot.git;a=blob;f=board/compulab/cm_t35/cm_t35.c;h=4...
compulab/cm_fx6 uses four different .name and splash locations. They are either SPLASH_STORAGE_RAW or SPLASH_STORAGE_FS. Thus it is not affected.
http://git.denx.de/?p=u-boot.git;a=blob;f=board/compulab/cm_fx6/cm_fx6.c;h=d...
menlo/m53menlo uses .name = "mmc_fs" and SPLASH_STORAGE_FS. Thus it is not affected.
http://git.denx.de/?p=u-boot.git;a=blob;f=board/menlo/m53menlo/m53menlo.c;h=...
I conclude that no upstream board is actually affected. They would only be affecte if they would use SPLASH_STORAGE_FIT.
You are right, indeed upstream boards should be ok. However, some other non upstream boards I know of would be affected.
So my initial question still stands, could existing implementation be kept as fallback?
+ if (!splash_file) + splash_file = location->name;
location->name has worked fine for those cases, so it would be nice to keep that option intact.
BR,
Tomas
http://git.denx.de/?p=u-boot.git;a=blob;f=common/splash_source.c;h=62763b9eb...
Regards, Mark
Building Technologies, Panel Software Fire (BT-FIR/ENG1) Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118 Aufsichtsratsvorsitzender: Christian Fischer; Geschäftsführung: Tanja Rückert, Andreas Bartz, Thomas Quante, Bernhard Schuster