X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fvoiceblue%2Fvoiceblue.c;h=c8dde3651e62db79f99469a97748ac866920a5f8;hb=6b52cfe16cd539935e32bd8cf19146522e462a4d;hp=04093d172c6bf83f3294e1245fd6cdc95bdfa1e7;hpb=534ff676a9c2ffd460e096754894e78551e4ed1e;p=u-boot diff --git a/board/voiceblue/voiceblue.c b/board/voiceblue/voiceblue.c index 04093d172c..c8dde3651e 100644 --- a/board/voiceblue/voiceblue.c +++ b/board/voiceblue/voiceblue.c @@ -28,8 +28,7 @@ int board_init(void) *((volatile unsigned char *) VOICEBLUE_LED_REG) = 0xaa; /* arch number of VoiceBlue board */ - /* TODO: use define from asm/mach-types.h */ - gd->bd->bi_arch_number = 218; + gd->bd->bi_arch_number = MACH_TYPE_VOICEBLUE; /* adress of boot parameters */ gd->bd->bi_boot_params = 0x10000100; @@ -41,8 +40,8 @@ int dram_init(void) { *((volatile unsigned short *) VOICEBLUE_LED_REG) = 0xff; - /* Take the Ethernet controller out of reset and wait - * for the EEPROM load to complete. */ + /* Take the Ethernet controller out of reset and wait + * for the EEPROM load to complete. */ *((volatile unsigned short *) GPIO_DATA_OUTPUT_REG) |= 0x80; udelay(10); /* doesn't work before interrupt_init call */ *((volatile unsigned short *) GPIO_DATA_OUTPUT_REG) &= ~0x80;