u-boot/fs
Hiago De Franco a280368b48 fs: Fix SPL build if SPL_FS_LOADER is enabled and FS_LOADER is disabled
When SPL_FS_LOADER is set to y and FS_LOADER is not enabled, the SPL build
fails with the following errors:

  AR      spl/boot/built-in.o
  LD      spl/u-boot-spl
arm-none-linux-gnueabihf-ld.bfd: drivers/misc/fs_loader.o: in function
`fw_get_filesystem_firmware':
/u-boot/drivers/misc/fs_loader.c:162: undefined reference to
`fs_set_blk_dev'
arm-none-linux-gnueabihf-ld.bfd: /home/frh/tdx/src/u-boot/drivers/misc/
fs_loader.c:185: undefined reference to `fs_read'
arm-none-linux-gnueabihf-ld.bfd: drivers/misc/fs_loader.o: in function
`select_fs_dev':
/u-boot/drivers/misc/fs_loader.c:89: undefined reference to
`fs_set_blk_dev_with_part'
make[1]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
make: *** [Makefile:2055: spl/u-boot-spl] Error 2

Fix it by replacing the FS_LOADER with SPL_FS_LOADER in the Makefile, so
the fs.c with the necessary function definitions are compiled.

Fixes: b071a07743 ("drivers: misc: Makefile: Enable fs_loader compilation at SPL Level")
Suggested-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2024-10-02 13:35:31 -06:00
..
btrfs include: export uuid.h 2024-09-12 17:35:37 +02:00
cbfs Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cramfs Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
erofs fs/erofs: fix an overflow issue of unmapped extents 2024-06-14 12:59:06 -06:00
ext4 include: export uuid.h 2024-09-12 17:35:37 +02:00
fat Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
jffs2 fs: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
sandbox sandbox: Return error code from read/write/seek 2024-08-09 16:03:19 -06:00
squashfs squashfs: Fix heap corruption in sqfs_search_dir() 2024-08-15 16:14:36 -06:00
ubifs ubifs: Call ubifs_iput when ubifs_iget is used 2024-08-11 06:52:15 +02:00
yaffs2 list: use list_count_nodes() to count list entries 2024-08-30 13:51:38 -06:00
zfs fs: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
fs.c lmb: remove the lmb_init_and_reserve() function 2024-09-03 14:08:50 -06:00
fs_internal.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig fs: drop reiserfs 2024-03-04 10:25:47 -05:00
Makefile fs: Fix SPL build if SPL_FS_LOADER is enabled and FS_LOADER is disabled 2024-10-02 13:35:31 -06:00
semihostingfs.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00