u-boot-brain/arch
Samuel Holland 5cfeeacaea sunxi: Silence warning about non-static inline function
When compiling with CONFIG_SPL_SERIAL=n, gcc warns about
mbus_configure_port not being marked as static:

In file included from include/common.h:34,
                 from arch/arm/mach-sunxi/dram_sunxi_dw.c:11:
include/log.h:185:4: warning: 'printf' is static but used in inline function 'mbus_configure_port' which is not static
  185 |    printf(pr_fmt(fmt), ##args); \
      |    ^~~~~~
include/log.h:192:2: note: in expansion of macro 'debug_cond'
  192 |  debug_cond(_DEBUG, fmt, ##args)
      |  ^~~~~~~~~~
arch/arm/mach-sunxi/dram_sunxi_dw.c💯2: note: in expansion of macro 'debug'
  100 |  debug("MBUS port %d cfg0 %08x cfg1 %08x\n", port, cfg0, cfg1);
      |  ^~~~~

Fix this by updating the function accordingly.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2020-06-01 22:38:08 +05:30
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm sunxi: Silence warning about non-static inline function 2020-06-01 22:38:08 +05:30
m68k common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
microblaze common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
nios2 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
powerpc mpc83xx, abb: remove suvd3 board 2020-05-19 14:01:47 -04:00
riscv riscv: Move all SMP related SBI calls to SBI_v01 2020-05-26 15:50:08 +08:00
sandbox common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sh sh: Enable ffunction-sections and fdata-sections 2020-05-20 13:20:25 +02:00
x86 cbfs: Don't require the CBFS size with cbfs_init_mem() 2020-05-27 14:40:09 +08:00
xtensa common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00