|
@@ -72,15 +72,12 @@ static void check_hw_revision(void)
|
|
int checkboard(void)
|
|
int checkboard(void)
|
|
{
|
|
{
|
|
puts("Board:\tTRATS2\n");
|
|
puts("Board:\tTRATS2\n");
|
|
|
|
+ printf("HW Revision:\t0x%04x\n", board_rev);
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-static void show_hw_revision(void)
|
|
|
|
-{
|
|
|
|
- printf("HW Revision:\t0x%04x\n", board_rev);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
u32 get_board_rev(void)
|
|
u32 get_board_rev(void)
|
|
{
|
|
{
|
|
return board_rev;
|
|
return board_rev;
|
|
@@ -618,11 +615,6 @@ void init_panel_info(vidinfo_t *vid)
|
|
#ifdef CONFIG_MISC_INIT_R
|
|
#ifdef CONFIG_MISC_INIT_R
|
|
int misc_init_r(void)
|
|
int misc_init_r(void)
|
|
{
|
|
{
|
|
- setenv("model", "GT-I8800");
|
|
|
|
- setenv("board", "TRATS2");
|
|
|
|
-
|
|
|
|
- show_hw_revision();
|
|
|
|
-
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|