X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=lib%2Flmb.c;h=49a3c9e01e59d15152660d00847a825c33575d4b;hb=dcdb61a084bd3840d0987a5d01ae506c11efca1b;hp=081e4181b45c10c4980062eb5506ae4bfa0e4948;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=karo-tx-uboot.git diff --git a/lib/lmb.c b/lib/lmb.c index 081e4181b4..49a3c9e01e 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -332,14 +332,12 @@ int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr) return 0; } -void __board_lmb_reserve(struct lmb *lmb) +__weak void board_lmb_reserve(struct lmb *lmb) { /* please define platform specific board_lmb_reserve() */ } -void board_lmb_reserve(struct lmb *lmb) __attribute__((weak, alias("__board_lmb_reserve"))); -void __arch_lmb_reserve(struct lmb *lmb) +__weak void arch_lmb_reserve(struct lmb *lmb) { /* please define platform specific arch_lmb_reserve() */ } -void arch_lmb_reserve(struct lmb *lmb) __attribute__((weak, alias("__arch_lmb_reserve")));