diff options
author | Tom Rini <trini@konsulko.com> | 2025-07-10 16:44:08 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-10 16:44:08 -0600 |
commit | 6bb0679377abb01a82db1ce69b5bf1d40aa02ace (patch) | |
tree | 1049a2319a61e7caaff8cbca3ca4b082075dfcfe /board/renesas/grpeach/grpeach.c | |
parent | f074616014179eefbca6f4b86b1fa6336711ba80 (diff) | |
parent | 25adecf09467c6a2823bcdfaf3fb0b59b2389669 (diff) |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
- SH Ether clean ups, RZ/A1 clean ups, RZ/A1 Genmai support
- Gen3 EEPROM DT node clean up
- V4H SA0 BootROM compatible binman etype, SCIF compatible SREC
generation for Gen4
Diffstat (limited to 'board/renesas/grpeach/grpeach.c')
-rw-r--r-- | board/renesas/grpeach/grpeach.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/board/renesas/grpeach/grpeach.c b/board/renesas/grpeach/grpeach.c index 88f65c3b6a0..3a6393fdce1 100644 --- a/board/renesas/grpeach/grpeach.c +++ b/board/renesas/grpeach/grpeach.c @@ -4,17 +4,9 @@ * Copyright (C) Chris Brandt */ -#include <cpu_func.h> #include <errno.h> #include <init.h> #include <asm/global_data.h> -#include <asm/io.h> -#include <asm/arch/sys_proto.h> - -#define RZA1_WDT_BASE 0xfcfe0000 -#define WTCSR 0x00 -#define WTCNT 0x02 -#define WRCSR 0x04 DECLARE_GLOBAL_DATA_PTR; @@ -39,17 +31,3 @@ int dram_init_banksize(void) return 0; } - -void reset_cpu(void) -{ - /* Dummy read (must read WRCSR:WOVF at least once before clearing) */ - readb(RZA1_WDT_BASE + WRCSR); - - writew(0xa500, RZA1_WDT_BASE + WRCSR); - writew(0x5a5f, RZA1_WDT_BASE + WRCSR); - writew(0x5a00, RZA1_WDT_BASE + WTCNT); - writew(0xa578, RZA1_WDT_BASE + WTCSR); - - for (;;) - asm volatile("wfi"); -} |