X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib_generic%2Flmb.c;h=c5e75fb3bbd3cebe83624720e1c8247be273fff8;hb=a9c3ac78d81d7ff4fe239e292e11e0f78ac5d461;hp=1c6cf7ce000257b1d91729f95f36b51ccdd5020e;hpb=a07351fdbad1a92746d75a195eaef25d146c7f87;p=karo-tx-uboot.git diff --git a/lib_generic/lmb.c b/lib_generic/lmb.c index 1c6cf7ce00..c5e75fb3bb 100644 --- a/lib_generic/lmb.c +++ b/lib_generic/lmb.c @@ -334,3 +334,15 @@ int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr) } return 0; } + +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) +{ + /* please define platform specific arch_lmb_reserve() */ +} +void arch_lmb_reserve(struct lmb *lmb) __attribute__((weak, alias("__arch_lmb_reserve")));