summaryrefslogtreecommitdiff
path: root/board/amcc/taishan
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-01-19 23:08:39 +0100
committerWolfgang Denk <wd@denx.de>2007-01-19 23:08:39 +0100
commita4012396645533aef218354eeba754dff0deace8 (patch)
tree1270733d6e22e2888347a9413b8ba31a8a960d88 /board/amcc/taishan
parent2ed5594649821a674a2ee256f9d49f9e97ba474d (diff)
downloadu-boot-a4012396645533aef218354eeba754dff0deace8.tar.gz
u-boot-a4012396645533aef218354eeba754dff0deace8.tar.bz2
u-boot-a4012396645533aef218354eeba754dff0deace8.zip
Minor code cleanup.
Diffstat (limited to 'board/amcc/taishan')
-rw-r--r--board/amcc/taishan/lcd.c6
-rw-r--r--board/amcc/taishan/taishan.c2
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;
}