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)
commit5fdec16b69da273d5654c2c3be01246a59e1bcba
treec1a7426aac9c085dbd6177cf640c9e8ca25fe280
parent0ec201cfe7be7d2fd0667450f6214a7f43aa1309
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