8019938a85
Shrink sh_pfc_pin_config from 8 to 2 bytes: - The mux_set flag can be removed, as a non-zero mark value means the same (zero = PINMUX_RESERVED is an invalid mark value), - The gpio_enabled flag needs only a single bit, - Mark values are small integers, and can easily fit in a 15-bit bitfield. This saves 6 bytes per pin when allocating the sh_pfc_pinctrl.configs array, i.e. it reduces run-time memory consumption by ca. 1.5 KiB. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20201028151637.1734130-5-geert+renesas@glider.be |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.c | ||
core.h | ||
gpio.c | ||
pfc-emev2.c | ||
pfc-r8a73a4.c | ||
pfc-r8a7740.c | ||
pfc-r8a7778.c | ||
pfc-r8a7779.c | ||
pfc-r8a7790.c | ||
pfc-r8a7791.c | ||
pfc-r8a7792.c | ||
pfc-r8a7794.c | ||
pfc-r8a7796.c | ||
pfc-r8a77470.c | ||
pfc-r8a77950.c | ||
pfc-r8a77951.c | ||
pfc-r8a77965.c | ||
pfc-r8a77970.c | ||
pfc-r8a77980.c | ||
pfc-r8a77990.c | ||
pfc-r8a77995.c | ||
pfc-sh73a0.c | ||
pfc-sh7203.c | ||
pfc-sh7264.c | ||
pfc-sh7269.c | ||
pfc-sh7720.c | ||
pfc-sh7722.c | ||
pfc-sh7723.c | ||
pfc-sh7724.c | ||
pfc-sh7734.c | ||
pfc-sh7757.c | ||
pfc-sh7785.c | ||
pfc-sh7786.c | ||
pfc-shx3.c | ||
pinctrl-rza1.c | ||
pinctrl-rza2.c | ||
pinctrl-rzn1.c | ||
pinctrl.c | ||
sh_pfc.h |