summaryrefslogtreecommitdiff
path: root/cpu/arm1176/cpu.c
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2009-06-25 19:21:33 +0900
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-26 00:02:35 +0200
commit6bde171a4c4116cee179167cb65335a28f99932d (patch)
tree27566c517b8ed19080d3e4013e60ba16730b9328 /cpu/arm1176/cpu.c
parent576afd4faeba1519bcb8c0083c3e4d45e5643a48 (diff)
downloadu-boot-imx-6bde171a4c4116cee179167cb65335a28f99932d.zip
u-boot-imx-6bde171a4c4116cee179167cb65335a28f99932d.tar.gz
u-boot-imx-6bde171a4c4116cee179167cb65335a28f99932d.tar.bz2
s3c64xx: move the reset_cpu function
Because of the reset_cpu is soc specific, should be move to soc And read reset value from SYS_ID register instead of hard code this patch also supports s3c6410 Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'cpu/arm1176/cpu.c')
-rw-r--r--cpu/arm1176/cpu.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/cpu/arm1176/cpu.c b/cpu/arm1176/cpu.c
index c59a77b..d1a3327 100644
--- a/cpu/arm1176/cpu.c
+++ b/cpu/arm1176/cpu.c
@@ -58,22 +58,6 @@ int cleanup_before_linux (void)
return 0;
}
-
-/* * reset the cpu by setting up the watchdog timer and let him time out */
-void reset_cpu (ulong ignored)
-{
- printf("reset... \n\n\n");
- SW_RST_REG = 0x6400;
- /* loop forever and wait for reset to happen */
- while (1) {
- if (serial_tstc()) {
- serial_getc();
- break;
- }
- }
- /*NOTREACHED*/
-}
-
/* flush I/D-cache */
static void cache_flush (void)
{