X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flmb.h;h=f04d058093785615d7e93e76f0a188defda537db;hb=2d91b533312888e596563a299588e81906383464;hp=14e8727f0669c5fe98a8e275191fd098986eff34;hpb=859f24350e6e4313626f85161dd03f025a4dac59;p=u-boot diff --git a/include/lmb.h b/include/lmb.h index 14e8727f06..f04d058093 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_LMB_H #define _LINUX_LMB_H #ifdef __KERNEL__ @@ -7,11 +8,6 @@ * Logical memory blocks. * * Copyright (C) 2001 Peter Bergner, IBM Corp. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. */ #define MAX_LMB_REGIONS 8 @@ -52,6 +48,10 @@ 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 /* __KERNEL__ */ #endif /* _LINUX_LMB_H */