summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2305805)
raw | patch | inline | side by side (parent: 2305805)
author | Sean Anderson <seanga2@gmail.com> | |
Fri, 9 Apr 2021 02:13:11 +0000 (22:13 -0400) | ||
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | |
Fri, 14 May 2021 08:20:49 +0000 (16:20 +0800) |
This is more consistent with the naming of other ram banks, and matches
what Linux is doing.
Reported-by: Damien Le Moal <Damien.LeMoal@wdc.com>
Signed-off-by: Sean Anderson <seanga2@gmail.com>
what Linux is doing.
Reported-by: Damien Le Moal <Damien.LeMoal@wdc.com>
Signed-off-by: Sean Anderson <seanga2@gmail.com>
arch/riscv/dts/k210.dtsi | patch | blob | history | |
board/sipeed/maix/maix.c | patch | blob | history |
index a735bebf2c5be07d115a50af2d28dd8f2248cc43..2032f1e5c2105815fde9d99eaf40e91b2d8a6f46 100644 (file)
--- a/arch/riscv/dts/k210.dtsi
+++ b/arch/riscv/dts/k210.dtsi
reg = <0x80000000 0x400000>,
<0x80400000 0x200000>,
<0x80600000 0x200000>;
- reg-names = "sram0", "sram1", "airam";
+ reg-names = "sram0", "sram1", "aisram";
clocks = <&sysclk K210_CLK_SRAM0>,
<&sysclk K210_CLK_SRAM1>,
<&sysclk K210_CLK_PLL1>;
- clock-names = "sram0", "sram1", "airam";
+ clock-names = "sram0", "sram1", "aisram";
u-boot,dm-pre-reloc;
};
index 6e582911f8482e77cd7d267fa2f908e20fb7d33f..52e4fee2f0acf6b556274bc3625752e97da5bb55 100644 (file)
--- a/board/sipeed/maix/maix.c
+++ b/board/sipeed/maix/maix.c
static int sram_init(void)
{
int ret, i;
- const char * const banks[] = { "sram0", "sram1", "airam" };
+ const char * const banks[] = { "sram0", "sram1", "aisram" };
ofnode memory;
struct clk clk;