]> git.sur5r.net Git - u-boot/blobdiff - include/lmb.h
arm: socfpga: Restructure the SPL file
[u-boot] / include / lmb.h
index 5d1f4b624a2695b06e478dd7fcf205508d1a5cc1..f04d058093785615d7e93e76f0a188defda537db 100644 (file)
@@ -1,18 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 #ifndef _LINUX_LMB_H
 #define _LINUX_LMB_H
 #ifdef __KERNEL__
-#ifdef CONFIG_LMB
 
 #include <asm/types.h>
 /*
  * 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
@@ -57,7 +52,6 @@ lmb_size_bytes(struct lmb_region *type, unsigned long region_nr)
 void board_lmb_reserve(struct lmb *lmb);
 void arch_lmb_reserve(struct lmb *lmb);
 
-#endif /* CONFIG_LMB */
 #endif /* __KERNEL__ */
 
 #endif /* _LINUX_LMB_H */