1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-10 20:46:37 +02:00
Files
u-boot-megous/drivers
Sean Anderson 89cfa35bfc misc: fs_loader: Fix alignment of fs_loader driver
DM_DRIVER_GET will redeclare the fs_loader driver without the correct
alignment. This causes GCC to use the default section alignment of 32
bytes. This in turn creates a gap in the linker list due to the padding
required to achieve the correct alignment, corrupting all further entries.
Use DM_DRIVER_REF instead, which doesn't redeclare anything.

Fixes: 0998a20cfc ("misc: fs_loader: Add function to get the chosen loader")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
2023-10-11 13:22:32 -04:00
..
2023-10-02 10:55:44 -04:00
2023-10-11 10:35:24 -04:00
2023-10-02 10:55:44 -04:00
2023-10-02 10:55:44 -04:00