summaryrefslogtreecommitdiff
path: root/arch/riscv/cpu/nx25/cpu.c
diff options
context:
space:
mode:
authorRick Chen <rick@andestech.com>2018-05-29 09:54:40 +0800
committerAndes <uboot@andestech.com>2018-05-29 14:45:02 +0800
commit6f4dd62f338e327bf2135bc72f559e27d6cab54d (patch)
treea455d68c2172e6aab1529a474b4cc0a5c793ef75 /arch/riscv/cpu/nx25/cpu.c
parent7215787c4ea4b14ed2efbc9926c7ea539294a151 (diff)
riscv: cpu: nx25: Rename as ax25
Andes has rearranged the product combinations. nx25 and ax25 both are RISC-V architecture cpu core. But ax25 has MMU unit inside, and nx25 is not. Cpu nx25 and platform ae250 are arranged in pairs. Cpu ax25 and platform ae350 are arranged in pairs. This patch will rename nx25 as ax25 ae250 as ae350 nx25-ae250 as ax25-ae350 including filename, variable, string and definition. Then u-boot can boot linux kernel in ae350 platform reasonably. Signed-off-by: Rick Chen <rick@andestech.com> Signed-off-by: Rick Chen <rickchen36@gmail.com> Cc: Greentime Hu <green.hu@gmail.com>
Diffstat (limited to 'arch/riscv/cpu/nx25/cpu.c')
-rw-r--r--arch/riscv/cpu/nx25/cpu.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/riscv/cpu/nx25/cpu.c b/arch/riscv/cpu/nx25/cpu.c
deleted file mode 100644
index 091e9ef59e0..00000000000
--- a/arch/riscv/cpu/nx25/cpu.c
+++ /dev/null
@@ -1,32 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2017 Andes Technology Corporation
- * Rick Chen, Andes Technology Corporation <rick@andestech.com>
- */
-
-/* CPU specific code */
-#include <common.h>
-#include <command.h>
-#include <watchdog.h>
-#include <asm/cache.h>
-
-/*
- * cleanup_before_linux() is called just before we call linux
- * it prepares the processor for linux
- *
- * we disable interrupt and caches.
- */
-int cleanup_before_linux(void)
-{
- disable_interrupts();
-
- /* turn off I/D-cache */
-
- return 0;
-}
-
-int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
-{
- disable_interrupts();
- panic("nx25-ae250 wdt not support yet.\n");
-}