diff options
author | Samuel Holland <samuel@sholland.org> | 2022-08-15 07:12:43 +0300 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2022-09-08 23:28:42 +0300 |
commit | e3c95edb1bd8b9c2cb0caa6ae382fc8080f6a0ed (patch) | |
tree | 91221ca930532996a6cf6c1f74bd5e8b10ac241a /drivers | |
parent | 49fad91a7b8941979c3e9a35f9894ac45bc5d3d6 (diff) | |
download | linux-e3c95edb1bd8b9c2cb0caa6ae382fc8080f6a0ed.tar.xz |
soc: sunxi: sram: Fix debugfs info for A64 SRAM C
The labels were backward with respect to the register values. The SRAM
is mapped to the CPU when the register value is 1.
Fixes: 5e4fb6429761 ("drivers: soc: sunxi: add support for A64 and its SRAM C")
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220815041248.53268-7-samuel@sholland.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/soc/sunxi/sunxi_sram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index 52d07bed7664..09754cd1d57d 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -78,8 +78,8 @@ static struct sunxi_sram_desc sun4i_a10_sram_d = { static struct sunxi_sram_desc sun50i_a64_sram_c = { .data = SUNXI_SRAM_DATA("C", 0x4, 24, 1, - SUNXI_SRAM_MAP(0, 1, "cpu"), - SUNXI_SRAM_MAP(1, 0, "de2")), + SUNXI_SRAM_MAP(1, 0, "cpu"), + SUNXI_SRAM_MAP(0, 1, "de2")), }; static const struct of_device_id sunxi_sram_dt_ids[] = { |