Minor code cleanup.
diff --git a/board/amcc/taishan/lcd.c b/board/amcc/taishan/lcd.c
index aebddb4..8d2dce3 100644
--- a/board/amcc/taishan/lcd.c
+++ b/board/amcc/taishan/lcd.c
@@ -267,7 +267,7 @@
"<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 @@
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 @@
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 7e02371..1a2e53b 100644
--- a/board/amcc/taishan/taishan.c
+++ b/board/amcc/taishan/taishan.c
@@ -164,7 +164,7 @@
*GpioOdr &= ~(0x00300000);
*GpioTcr |= 0x00300000;
- *GpioOr |= 0x00300000;
+ *GpioOr |= 0x00300000;
return 0;
}