1
linux/arch/arm/mach-mvebu
Uwe Kleine-König 499243b405 ARM: mvebu: Warn about memory chunks too small for DDR training
For each memory region the first 10K are reserved for DDR training. Emit
a warning if the area happens to be smaller than these 10K. This should
not happen, but if it does this message simplifies diagnosing the
problem.

This fixes a W=1 compiler error:

	arch/arm/mach-mvebu/board-v7.c: In function ‘mvebu_scan_mem’:
	arch/arm/mach-mvebu/board-v7.c:84:27: error: variable ‘size’ set but not used [-Werror=unused-but-set-variable]
	   84 |                 u64 base, size;
	      |                           ^~~~

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2024-09-02 14:34:58 +02:00
..
armada-370-xp.h
board-v7.c
coherency_ll.S
coherency.c
coherency.h
common.h
cpu-reset.c
dove.c
headsmp-a9.S
headsmp.S
Kconfig
kirkwood-pm.c
kirkwood-pm.h
kirkwood.c
kirkwood.h
Makefile
mvebu-soc-id.c
mvebu-soc-id.h
platsmp-a9.c
platsmp.c
pm-board.c
pm.c
pmsu_ll.S
pmsu.c
pmsu.h
system-controller.c