mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
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>
This commit is contained in:
parent
8475c869c3
commit
7f39b06782
@ -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
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <common.h>
|
||||
#include <power/pmic.h>
|
||||
#include <power/battery.h>
|
||||
#include <power/max8997_pmic.h>
|
||||
#include <power/max77693_pmic.h>
|
||||
#include <errno.h>
|
||||
|
||||
static struct battery battery_trats;
|
||||
|
@ -8,6 +8,8 @@
|
||||
#ifndef __MAX77686_H_
|
||||
#define __MAX77686_H_
|
||||
|
||||
#include <power/pmic.h>
|
||||
|
||||
enum {
|
||||
MAX77686_REG_PMIC_ID = 0x0,
|
||||
MAX77686_REG_PMIC_INTSRC,
|
||||
|
Loading…
Reference in New Issue
Block a user