| * Copyright (C) 2007,2008 |
| * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| * Kenati Technologies, Inc. |
| * board/ms7722se/ms7722se.c |
| * SPDX-License-Identifier: GPL-2.0+ |
| #include <asm/processor.h> |
| #define LED_BASE 0xB0800000 |
| puts("BOARD: Hitachi UL MS7722SE\n"); |
| /* Setup PTXMD[1:0] for /CS6A */ |
| outw(inw(PXCR) & ~0xf000, PXCR); |
| 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) |
| writew(value & 0xFF, LED_BASE); |
| int board_eth_init(bd_t *bis) |
| rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); |