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: 0998a20cfc6 ("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-09-22 06:03:46 +08:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2023-05-04 13:03:54 -04:00
2022-12-23 10:15:13 -05:00
2022-01-13 07:57:49 -05:00
2023-02-01 14:17:29 +08:00
2022-01-24 10:35:10 -05:00
2023-07-14 12:52:18 -04:00
2022-06-08 14:00:22 -04:00
2021-03-27 13:59:36 +13:00
2021-04-12 17:45:40 -04:00
2022-02-28 11:59:35 +05:30