summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-01-22 11:24:11 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-03 15:36:14 +0900
commit7f39b0678275c773301da15d3a7cc1ea7ca87171 (patch)
tree9ee6d6dbcf60234994cd382b503fba14bc26e45b /board
parent8475c869c30cbeef1695396b43bc240cc0d35f5a (diff)
downloadu-boot-imx-7f39b0678275c773301da15d3a7cc1ea7ca87171.zip
u-boot-imx-7f39b0678275c773301da15d3a7cc1ea7ca87171.tar.gz
u-boot-imx-7f39b0678275c773301da15d3a7cc1ea7ca87171.tar.bz2
trats2: Code cleanup.
Remove wrong and unused env variables Trats2 is not as GT-I8800. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Cc: Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board')
-rw-r--r--board/samsung/trats2/trats2.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c
index 1e96fdc..feb6c4c 100644
--- a/board/samsung/trats2/trats2.c
+++ b/board/samsung/trats2/trats2.c
@@ -72,15 +72,12 @@ static void check_hw_revision(void)
int checkboard(void)
{
puts("Board:\tTRATS2\n");
+ printf("HW Revision:\t0x%04x\n", board_rev);
+
return 0;
}
#endif
-static void show_hw_revision(void)
-{
- printf("HW Revision:\t0x%04x\n", board_rev);
-}
-
u32 get_board_rev(void)
{
return board_rev;
@@ -618,11 +615,6 @@ void init_panel_info(vidinfo_t *vid)
#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void)
{
- setenv("model", "GT-I8800");
- setenv("board", "TRATS2");
-
- show_hw_revision();
-
return 0;
}
#endif