linux/drivers/soc/renesas
Arnd Bergmann c83e9c4873 soc: r9a06g032: don't build SMP files for non-SMP config
Without CONFIG_SMP, we get a build failure:

In file included from include/linux/byteorder/little_endian.h:5,
                 from arch/arm/include/uapi/asm/byteorder.h:22,
                 from include/asm-generic/bitops/le.h:6,
                 from arch/arm/include/asm/bitops.h:342,
                 from include/linux/bitops.h:18,
                 from include/linux/kernel.h:11,
                 from include/asm-generic/bug.h:18,
                 from arch/arm/include/asm/bug.h:60,
                 from include/linux/bug.h:5,
                 from include/linux/io.h:23,
                 from drivers/soc/renesas/r9a06g032-smp.c:11:
drivers/soc/renesas/r9a06g032-smp.c: In function 'r9a06g032_smp_boot_secondary':
drivers/soc/renesas/r9a06g032-smp.c:43:21: error: 'secondary_startup' undeclared (first use in this function)
  writel(__pa_symbol(secondary_startup), cpu_bootaddr);
                     ^~~~~~~~~~~~~~~~~

This makes the compilation of that file conditional on SMP support.
It would probably be better for consistency to leave that file
in arch/arm/mach-shmobile/, matching what we do for all other smp
operations.

Fixes: cde4f86f9249 ("arm: shmobile: Add the R9A06G032 SMP enabler driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-07-20 13:44:09 +02:00
..
Kconfig soc: renesas: rcar-sysc: Add support for R-Car E3 power areas 2018-05-16 10:57:13 +02:00
Makefile soc: r9a06g032: don't build SMP files for non-SMP config 2018-07-20 13:44:09 +02:00
r8a7743-sysc.c soc: renesas: rcar-sysc: add R8A7743 support 2016-10-17 08:21:20 +02:00
r8a7745-sysc.c soc: renesas: rcar-sysc: add R8A7745 support 2016-11-23 14:28:41 +01:00
r8a7779-sysc.c soc: renesas: rcar-sysc: Add support for R-Car H1 power areas 2016-04-26 09:56:35 +10:00
r8a7790-sysc.c soc: renesas: rcar-sysc: Add support for R-Car H2 power areas 2016-04-26 09:56:35 +10:00
r8a7791-sysc.c soc: renesas: rcar-sysc: Add support for R-Car M2-W power areas 2016-04-26 09:56:36 +10:00
r8a7792-sysc.c soc: renesas: rcar-sysc: add R8A7792 support 2016-06-16 10:53:57 +09:00
r8a7794-sysc.c soc: renesas: rcar-sysc: Add support for R-Car E2 power areas 2016-04-26 09:56:37 +10:00
r8a7795-sysc.c soc: renesas: rcar-sysc: Add support for R-Car H3 ES2.0 2017-04-07 13:53:41 -04:00
r8a7796-sysc.c soc: renesas: rcar-sysc: Add support for R-Car M3-W power areas 2016-06-06 10:14:21 +09:00
r8a77470-sysc.c soc: renesas: rcar-sysc: Add r8a77470 support 2018-04-16 16:01:24 +02:00
r8a77965-sysc.c soc: renesas: rcar-sysc: Add R-Car M3-N support 2018-02-21 22:51:02 +01:00
r8a77970-sysc.c soc: renesas: r8a77970-sysc: fix power area parents 2018-02-19 10:00:50 +01:00
r8a77980-sysc.c soc: renesas: rcar-sysc: add R8A77980 support 2018-02-19 20:50:44 +01:00
r8a77990-sysc.c soc: renesas: r8a77990-sysc: Add workaround for 3DG-{A,B} 2018-05-16 10:57:44 +02:00
r8a77995-sysc.c soc: renesas: r8a77995-sysc: Cleanups 2018-04-20 12:14:47 +02:00
r9a06g032-smp.c ARM: shmobile: Add the R9A06G032 SMP enabler driver 2018-07-20 13:44:04 +02:00
rcar-rst.c soc: renesas: rcar-rst: Add support for R-Car E3 2018-04-16 16:01:25 +02:00
rcar-sysc.c soc: renesas: rcar-sysc: Drop legacy handling 2018-06-18 12:00:29 +02:00
rcar-sysc.h soc: renesas: rcar-sysc: Add support for R-Car E3 power areas 2018-05-16 10:57:13 +02:00
renesas-soc.c soc: renesas: identify R-Car E3 2018-04-16 16:01:25 +02:00