diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/amcc/taishan/lcd.c | 6 | ||||
-rw-r--r-- | board/amcc/taishan/taishan.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/amcc/taishan/lcd.c b/board/amcc/taishan/lcd.c index aebddb4b15..8d2dce35ca 100644 --- a/board/amcc/taishan/lcd.c +++ b/board/amcc/taishan/lcd.c @@ -267,7 +267,7 @@ U_BOOT_CMD(lcd_cur, 3, 1, do_lcd_cur, "<count> <dir>- shift cursor on lcd <count> times, direction is <dir> \n" " <count> - 0~31\n" " <dir> - 0,backward; 1, forward\n"); -#if 0 // test-only +#if 0 /* test-only */ void set_phy_loopback_mode(void) { char devemac2[32]; @@ -318,7 +318,7 @@ void set_phy_loopback_mode(void) udelay(1000); miiphy_write(devemac3, CONFIG_PHY3_ADDR, 0, 0x6000); udelay(1000); -#endif +#endif /* 0 */ } void set_phy_normal_mode(void) @@ -354,7 +354,7 @@ void set_phy_normal_mode(void) miiphy_write(devemac3, CONFIG_PHY3_ADDR, 0x1c, 0x74f0); } -#endif +#endif /* 0 - test only */ static int do_led_test_off(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) { diff --git a/board/amcc/taishan/taishan.c b/board/amcc/taishan/taishan.c index 7e023711f9..1a2e53b1ab 100644 --- a/board/amcc/taishan/taishan.c +++ b/board/amcc/taishan/taishan.c @@ -164,7 +164,7 @@ int board_early_init_f (void) *GpioOdr &= ~(0x00300000); *GpioTcr |= 0x00300000; - *GpioOr |= 0x00300000; + *GpioOr |= 0x00300000; return 0; } |