mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-16 00:03:26 +08:00
1a4596601f
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_ */
|