]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: soc: sunxi: Add support for the C1 SRAM region
authorMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 10 Jul 2018 08:00:59 +0000 (10:00 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 08:55:43 +0000 (10:55 +0200)
commitd1fb52c9c2cb0f60850de9a540ca5239571eb69f
treec1a7426aac9c085dbd6177cf640c9e8ca25fe280
parentdb4998856a3e3a3781bfd06932de5154cc2b852e
drivers: soc: sunxi: Add support for the C1 SRAM region

This introduces support for the SRAM C1 section, that is controlled by
the system controller. This SRAM area can be muxed either to the CPU
or the Video Engine, that needs this area to store various tables (e.g.
the Huffman VLD decoding tables).

This only supports devices with the same layout as the A10 (which also
includes the A13, A20, A33 and other SoCs).

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/soc/sunxi/sunxi_sram.c