| * Copyright (C) 2008 Renesas Solutions Corp. |
| * Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
| * Copyright (C) 2007 Kenati Technologies, Inc. |
| * board/sh7763rdp/sh7763rdp.c |
| * SPDX-License-Identifier: GPL-2.0+ |
| #include <asm/processor.h> |
| #define CPU_CMDREG 0xB1000006 |
| puts("BOARD: Renesas SH7763 RDP\n"); |
| writew(inw(CPU_CMDREG)|0x0001, CPU_CMDREG); |
| /* GPIO Setting (eth1) */ |
| writew(((dat & ~0xff00) | 0x2400), PSEL1); |
| gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; |
| gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE; |
| printf("DRAM: %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024)); |
| void led_set_state(unsigned short value) |