[PATCH 0/7] filetype: Some size reduction patches

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 19 05:32:32 PDT 2025


On Tue, 18 Mar 2025 15:41:41 +0100, Sascha Hauer wrote:
> The am335x_mlo_defconfig is very size constrained and doesn't build
> within these constraint anymore for some time. The filetype detection
> code has become quite big and offers some opportunities for size
> reduction. Specifically file_detect_type() is quite big, but many
> callers are only interested in some specific file types like supported
> file systems or supported compressed binary formats. This series
> introduces some more specific smaller file detection functions so that
> we can get rid of the big file_detect_type() in the binary.
> 
> [...]

Applied, thanks!

[1/7] filetype: add file_detect_compression_type()
      https://git.pengutronix.de/cgit/barebox/commit/?id=519153fd74cb (link may not be stable)
[2/7] filetype: add file_detect_fs_type()
      https://git.pengutronix.de/cgit/barebox/commit/?id=b25680a9c995 (link may not be stable)
[3/7] filetype: add function pointer to file_name_detect_type_offset()
      https://git.pengutronix.de/cgit/barebox/commit/?id=834d9b644638 (link may not be stable)
[4/7] filetype: let cdev_detect_type() only detect filesystems
      https://git.pengutronix.de/cgit/barebox/commit/?id=dcf835a983c9 (link may not be stable)
[5/7] filetype: make file type strings optional
      https://git.pengutronix.de/cgit/barebox/commit/?id=09702e4a00ec (link may not be stable)
[6/7] ARM: am33xx: myirtech-myd: add MLO specific device tree
      https://git.pengutronix.de/cgit/barebox/commit/?id=75914e1c1983 (link may not be stable)
[7/7] ARM: am335x_mlo_defconfig: disable file type strings
      https://git.pengutronix.de/cgit/barebox/commit/?id=285d88922cad (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list