mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
riscv: k210: Rename airam to aisram
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>
This commit is contained in:
parent
23058052de
commit
2d64e3829b
|
@ -86,11 +86,11 @@
|
||||||
reg = <0x80000000 0x400000>,
|
reg = <0x80000000 0x400000>,
|
||||||
<0x80400000 0x200000>,
|
<0x80400000 0x200000>,
|
||||||
<0x80600000 0x200000>;
|
<0x80600000 0x200000>;
|
||||||
reg-names = "sram0", "sram1", "airam";
|
reg-names = "sram0", "sram1", "aisram";
|
||||||
clocks = <&sysclk K210_CLK_SRAM0>,
|
clocks = <&sysclk K210_CLK_SRAM0>,
|
||||||
<&sysclk K210_CLK_SRAM1>,
|
<&sysclk K210_CLK_SRAM1>,
|
||||||
<&sysclk K210_CLK_PLL1>;
|
<&sysclk K210_CLK_PLL1>;
|
||||||
clock-names = "sram0", "sram1", "airam";
|
clock-names = "sram0", "sram1", "aisram";
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ phys_size_t get_effective_memsize(void)
|
||||||
static int sram_init(void)
|
static int sram_init(void)
|
||||||
{
|
{
|
||||||
int ret, i;
|
int ret, i;
|
||||||
const char * const banks[] = { "sram0", "sram1", "airam" };
|
const char * const banks[] = { "sram0", "sram1", "aisram" };
|
||||||
ofnode memory;
|
ofnode memory;
|
||||||
struct clk clk;
|
struct clk clk;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user