commit | 05ca2776ac050bfe91842142959c0597d45ecdd2 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Tue Jan 10 11:19:35 2023 -0500 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 20 12:27:06 2023 -0500 |
tree | e31700a17dd428ba398443979ee67dfb3a21df89 | |
parent | 0c23c5b30a87383322cb35fd6986f0a4c1dbd3a0 [diff] |
spl: sata: Rework the loading case it not use IS_ENABLED(...) In this case, using IS_ENABLED(...) to attempt to load the image results in harder to read and less useful code, along with having to define a CONFIG value that would be unused. To maintain the current albeit slightly odd behavior, maintain that if we have both SPL_FS_FAT and SPL_SATA_RAW_U_BOOT_USE_SECTOR enabled, we use SPL_FS_FAT for the load. Signed-off-by: Tom Rini <trini@konsulko.com>