]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-u-boot/ti-u-boot.git/commitdiff
riscv: k210: Rename airam to aisram
authorSean Anderson <seanga2@gmail.com>
Fri, 9 Apr 2021 02:13:11 +0000 (22:13 -0400)
committerLeo 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>
arch/riscv/dts/k210.dtsi
board/sipeed/maix/maix.c

index a735bebf2c5be07d115a50af2d28dd8f2248cc43..2032f1e5c2105815fde9d99eaf40e91b2d8a6f46 100644 (file)
                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)
@@ -17,7 +17,7 @@ phys_size_t get_effective_memsize(void)
 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;