X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flmb.h;h=5d1f4b624a2695b06e478dd7fcf205508d1a5cc1;hb=573668a24e3e4ed5667332ea656e35021767ea6d;hp=14e8727f0669c5fe98a8e275191fd098986eff34;hpb=40234535ee4ed8721cbc14414f65910fc83d81d0;p=u-boot diff --git a/include/lmb.h b/include/lmb.h index 14e8727f06..5d1f4b624a 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -1,6 +1,7 @@ #ifndef _LINUX_LMB_H #define _LINUX_LMB_H #ifdef __KERNEL__ +#ifdef CONFIG_LMB #include /* @@ -52,6 +53,11 @@ lmb_size_bytes(struct lmb_region *type, unsigned long region_nr) { return type->region[region_nr].size; } + +void board_lmb_reserve(struct lmb *lmb); +void arch_lmb_reserve(struct lmb *lmb); + +#endif /* CONFIG_LMB */ #endif /* __KERNEL__ */ #endif /* _LINUX_LMB_H */