diff options
Diffstat (limited to 'kernel/arch/mips/pistachio/init.c')
-rw-r--r-- | kernel/arch/mips/pistachio/init.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/kernel/arch/mips/pistachio/init.c b/kernel/arch/mips/pistachio/init.c index d2dc83652..96ba2cc9a 100644 --- a/kernel/arch/mips/pistachio/init.c +++ b/kernel/arch/mips/pistachio/init.c @@ -58,18 +58,23 @@ void __init plat_mem_setup(void) panic("Device-tree not present"); __dt_setup_arch((void *)fw_arg1); - strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); plat_setup_iocoherency(); } -#define DEFAULT_CPC_BASE_ADDR 0x1bde0000 +#define DEFAULT_CPC_BASE_ADDR 0x1bde0000 +#define DEFAULT_CDMM_BASE_ADDR 0x1bdd0000 phys_addr_t mips_cpc_default_phys_base(void) { return DEFAULT_CPC_BASE_ADDR; } +phys_addr_t mips_cdmm_phys_base(void) +{ + return DEFAULT_CDMM_BASE_ADDR; +} + static void __init mips_nmi_setup(void) { void *base; |