Commit ac6a6bd64a8bbbdcd5885bc5f47589d8b72e7935
Committed by
Tom Rini
1 parent
6862b50f6e
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
arm: Make u-boot-arm.h a private header
Rather than including this arch-specific header file in common.h, include it from within arm's u-boot.h header. Also drop the comment about something to be fixed. It has been there forever and it is not clear what it means. Signed-off-by: Simon Glass <sjg@chromium.org>
Showing 3 changed files with 6 additions and 1 deletions Side-by-side Diff
arch/arm/include/asm/u-boot-arm.h
... | ... | @@ -13,6 +13,8 @@ |
13 | 13 | #ifndef _U_BOOT_ARM_H_ |
14 | 14 | #define _U_BOOT_ARM_H_ 1 |
15 | 15 | |
16 | +#ifndef __ASSEMBLY__ | |
17 | + | |
16 | 18 | /* for the following variables, see start.S */ |
17 | 19 | extern ulong IRQ_STACK_START; /* top of IRQ stack */ |
18 | 20 | extern ulong FIQ_STACK_START; /* top of FIQ stack */ |
... | ... | @@ -58,6 +60,8 @@ |
58 | 60 | void do_fiq(struct pt_regs *pt_regs); |
59 | 61 | void do_irq(struct pt_regs *pt_regswq); |
60 | 62 | #endif |
63 | + | |
64 | +#endif /* __ASSEMBLY__ */ | |
61 | 65 | |
62 | 66 | #endif /* _U_BOOT_ARM_H_ */ |
arch/arm/include/asm/u-boot.h
include/common.h
... | ... | @@ -428,7 +428,7 @@ |
428 | 428 | #ifdef CONFIG_ARM |
429 | 429 | # include <asm/mach-types.h> |
430 | 430 | # include <asm/setup.h> |
431 | -# include <asm/u-boot-arm.h> /* ARM version to be fixed! */ | |
431 | +# include <asm/u-boot.h> | |
432 | 432 | #endif /* CONFIG_ARM */ |
433 | 433 | #ifdef CONFIG_X86 |
434 | 434 | # include <asm/u-boot.h> |