diff options
| author | Tom Rini <[email protected]> | 2025-09-26 11:55:55 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-26 11:55:55 -0600 |
| commit | 14b784aaf2a96b0f597b4fc3c5a3b4cb70f18182 (patch) | |
| tree | 7b9e64d5b5c8bbceda412f94d2fb18bd18f9e4ed /common | |
| parent | edce3c2905a2a9561d10bdb03e587a93e273758d (diff) | |
| parent | 07588f4ad9b80e73726fd7ecb8e17e21785322a0 (diff) | |
Merge patch series "exports overhaul"
Rasmus Villemoes <[email protected]> says:
This all started from me wondering "why does this standalone app end
up being so huge"? Oh, it essentially links in its own standard C
library to get strlen() and snprintf(). Which then led to asking "why
don't we export all those standard C functions when we have them
anyway?".
CI has chewed on these and seem happy - it was CI which told me about
the necessity of [1/9]: https://github.com/u-boot/u-boot/pull/813
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'common')
| -rw-r--r-- | common/exports.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/common/exports.c b/common/exports.c index 48b084c3861..1b7fec685b1 100644 --- a/common/exports.c +++ b/common/exports.c @@ -7,10 +7,6 @@ DECLARE_GLOBAL_DATA_PTR; -__attribute__((unused)) static void dummy(void) -{ -} - unsigned long get_version(void) { return XF_VERSION; @@ -18,13 +14,6 @@ unsigned long get_version(void) #define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f; -#ifndef CONFIG_PHY_AQUANTIA -# define mdio_get_current_dev dummy -# define phy_find_by_mask dummy -# define mdio_phydev_for_ethname dummy -# define miiphy_set_current_dev dummy -#endif - int jumptable_init(void) { gd->jt = malloc(sizeof(struct jt_funcs)); |
