mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +00:00
Merge branch '2022-04-12-two-more-fixes'
- Bugfix in cpu_to_be32_array() and re-use $(UBOOTINCLUDE) in dtc_cpp_flags
This commit is contained in:
commit
b2a22b2c9f
2 changed files with 3 additions and 5 deletions
|
@ -190,7 +190,7 @@ static inline void be64_add_cpu(__be64 *var, u64 val)
|
|||
|
||||
static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len)
|
||||
{
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < len; i++)
|
||||
dst[i] = cpu_to_be32(src[i]);
|
||||
|
@ -198,7 +198,7 @@ static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len)
|
|||
|
||||
static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len)
|
||||
{
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < len; i++)
|
||||
dst[i] = be32_to_cpu(src[i]);
|
||||
|
|
|
@ -185,12 +185,10 @@ u_boot_dtsi = $(strip $(u_boot_dtsi_options_debug) \
|
|||
|
||||
# Modified for U-Boot
|
||||
dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
|
||||
$(UBOOTINCLUDE) \
|
||||
-I$(srctree)/arch/$(ARCH)/dts \
|
||||
-I$(srctree)/arch/$(ARCH)/dts/include \
|
||||
-Iinclude \
|
||||
-I$(srctree)/include \
|
||||
-I$(srctree)/arch/$(ARCH)/include \
|
||||
-include $(srctree)/include/linux/kconfig.h \
|
||||
-D__ASSEMBLY__ \
|
||||
-undef -D__DTS__
|
||||
|
||||
|
|
Loading…
Reference in a new issue