Message ID | 20210127152913.2439-1-pali@kernel.org |
---|---|
State | Accepted |
Commit | e18bf3943b081507f5040afd5c1866f2e87f0da5 |
Delegated to: | Tom Rini |
Headers | show |
Series | arm: Remove #include <version.h> from armv8/fwcall.c | expand |
On Wed, 27 Jan 2021 at 08:29, Pali Rohár <pali@kernel.org> wrote: > > No version information is used in armv8/fwcall.c therefore do not include > version.h header file. This change prevents recompiling fwcall.o when > SOURCE_DATE_EPOCH changes. > > Signed-off-by: Pali Rohár <pali@kernel.org> > --- > arch/arm/cpu/armv8/fwcall.c | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Simon Glass <sjg@chromium.org>
On Wed, Jan 27, 2021 at 04:29:13PM +0100, Pali Rohár wrote: > No version information is used in armv8/fwcall.c therefore do not include > version.h header file. This change prevents recompiling fwcall.o when > SOURCE_DATE_EPOCH changes. > > Signed-off-by: Pali Rohár <pali@kernel.org> > Reviewed-by: Simon Glass <sjg@chromium.org> Applied to u-boot/master, thanks!
diff --git a/arch/arm/cpu/armv8/fwcall.c b/arch/arm/cpu/armv8/fwcall.c index b29bc30fc2..16914dc1ee 100644 --- a/arch/arm/cpu/armv8/fwcall.c +++ b/arch/arm/cpu/armv8/fwcall.c @@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <asm/cache.h> #include <asm/macro.h> #include <asm/psci.h>
No version information is used in armv8/fwcall.c therefore do not include version.h header file. This change prevents recompiling fwcall.o when SOURCE_DATE_EPOCH changes. Signed-off-by: Pali Rohár <pali@kernel.org> --- arch/arm/cpu/armv8/fwcall.c | 1 - 1 file changed, 1 deletion(-)