2 * Copyright (C) 2007,2008
3 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6 * Kenati Technologies, Inc.
8 * board/ms7722se/ms7722se.c
10 * SPDX-License-Identifier: GPL-2.0+
16 #include <asm/processor.h>
18 DECLARE_GLOBAL_DATA_PTR;
20 #define LED_BASE 0xB0800000
24 puts("BOARD: Hitachi UL MS7722SE\n");
30 /* Setup PTXMD[1:0] for /CS6A */
31 outw(inw(PXCR) & ~0xf000, PXCR);
38 gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
39 gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
40 printf("DRAM: %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024));
44 void led_set_state(unsigned short value)
46 writew(value & 0xFF, LED_BASE);
50 int board_eth_init(bd_t *bis)
53 #ifdef CONFIG_SMC91111
54 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);