linux-stable/drivers/soc/renesas
Geert Uytterhoeven 4f5bc54d28 soc: renesas: rcar-sysc: Optimize rcar_sysc_area struct sizes
Reduce the sizes of the rcar_sysc_area and rcar_gen4_sysc_area
structures:
  - parent is in the range [-1..32] or [-1..64], so s8 is sufficient,
  - flags needs just 3 bits (for now), so u8 is plenty.

This reduces kernel size by:
  - 288 bytes for an R-Car Gen1+Gen2 kernel (arm32),
  - 1772 bytes for an R-Car Gen3+Gen4 kernel (arm64).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/cbbc8f464743d636895c048de61aa610d75392de.1654701156.git.geert+renesas@glider.be
2022-06-13 11:43:50 +02:00
..
Kconfig soc: renesas: rzn1: Select PM and PM_GENERIC_DOMAINS configs 2022-04-28 16:47:14 +02:00
Makefile soc: renesas: r8a779g0-sysc: Add r8a779g0 support 2022-04-25 10:58:58 +02:00
r8a774a1-sysc.c
r8a774b1-sysc.c
r8a774c0-sysc.c
r8a774e1-sysc.c
r8a779a0-sysc.c soc: renesas: r8a779a0-sysc: Fix A2DP1 and A2CV[2357] PDR values 2022-06-13 11:43:50 +02:00
r8a779f0-sysc.c
r8a779g0-sysc.c soc: renesas: r8a779g0-sysc: Add r8a779g0 support 2022-04-25 10:58:58 +02:00
r8a7742-sysc.c
r8a7743-sysc.c
r8a7745-sysc.c
r8a7779-sysc.c
r8a7790-sysc.c
r8a7791-sysc.c
r8a7792-sysc.c
r8a7794-sysc.c
r8a7795-sysc.c
r8a7796-sysc.c
r8a77470-sysc.c
r8a77965-sysc.c
r8a77970-sysc.c
r8a77980-sysc.c
r8a77990-sysc.c
r8a77995-sysc.c
r9a06g032-smp.c
rcar-gen4-sysc.c soc: renesas: r8a779g0-sysc: Add r8a779g0 support 2022-04-25 10:58:58 +02:00
rcar-gen4-sysc.h soc: renesas: rcar-sysc: Optimize rcar_sysc_area struct sizes 2022-06-13 11:43:50 +02:00
rcar-rst.c soc: renesas: rcar-rst: Add support for R-Car V4H 2022-04-25 10:58:58 +02:00
rcar-sysc.c
rcar-sysc.h soc: renesas: rcar-sysc: Optimize rcar_sysc_area struct sizes 2022-06-13 11:43:50 +02:00
renesas-soc.c soc: renesas: R-Car V3U is R-Car Gen4 2022-05-05 12:31:22 +02:00
rmobile-sysc.c