]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Correct the assembly guard in e820.h
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:45:29 +0000 (12:45 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:22 +0000 (11:27 +0800)
This is currently in the wrong place, so including the file in the device
tree fails. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/e820.h

index d7f8a4ba1df42ff1dfd22bc136fd237cdc7f90ac..a66c0d2489135b306769f3a26cec7cda0d577828 100644 (file)
@@ -22,10 +22,9 @@ struct e820_entry {
 #define ISA_START_ADDRESS      0xa0000
 #define ISA_END_ADDRESS                0x100000
 
-#endif /* __ASSEMBLY__ */
-
 /* Implementation defined function to install an e820 map */
 unsigned int install_e820_map(unsigned int max_entries,
                              struct e820_entry *);
+#endif /* __ASSEMBLY__ */
 
 #endif /* _ASM_X86_E820_H */