mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-14 22:23:56 +09:00
![Wolfgang Denk](/assets/img/avatar_default.png)
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
28 lines
398 B
C
28 lines
398 B
C
/*
|
|
* Copyright (C) 2012 Samsung Electronics
|
|
* Lukasz Majewski <l.majewski@samsung.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __POWER_CHARGER_H_
|
|
#define __POWER_CHARGER_H_
|
|
|
|
/* Type of available chargers */
|
|
enum {
|
|
CHARGER_NO = 0,
|
|
CHARGER_TA,
|
|
CHARGER_USB,
|
|
CHARGER_TA_500,
|
|
CHARGER_UNKNOWN,
|
|
};
|
|
|
|
enum {
|
|
UNKNOWN,
|
|
EXT_SOURCE,
|
|
CHARGE,
|
|
NORMAL,
|
|
};
|
|
|
|
#endif /* __POWER_CHARGER_H_ */
|