2 * (C) Copyright 2005 2N TELEKOMUNIKACE, Ladislav Michl
4 * See file CREDITS for list of people who contributed to this
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24 DECLARE_GLOBAL_DATA_PTR;
28 *((volatile unsigned char *) VOICEBLUE_LED_REG) = 0xaa;
30 /* arch number of VoiceBlue board */
31 gd->bd->bi_arch_number = MACH_TYPE_VOICEBLUE;
33 /* adress of boot parameters */
34 gd->bd->bi_boot_params = 0x10000100;
41 *((volatile unsigned short *) VOICEBLUE_LED_REG) = 0xff;
43 /* Take the Ethernet controller out of reset and wait
44 * for the EEPROM load to complete. */
45 *((volatile unsigned short *) GPIO_DATA_OUTPUT_REG) |= 0x80;
46 udelay(10); /* doesn't work before interrupt_init call */
47 *((volatile unsigned short *) GPIO_DATA_OUTPUT_REG) &= ~0x80;
50 gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
51 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
58 *((volatile unsigned short *) VOICEBLUE_LED_REG) = 0x55;
63 int board_late_init(void)
65 *((volatile unsigned char *) VOICEBLUE_LED_REG) = 0x00;