9
0
Fork 0
barebox/arch/arm/boards/imx233-olinuxino
Sascha Hauer 4d70da63a4 ARM: MXS: power-init: Add parameters to mx28_power_init()
Instead of introducing new functions each time a new power supply
situation is to be added, this patch adds parameters to mx28_power_init.

Right now there are three parameters:

- has_battery - true when this board has a battery.
- use_battery_input - true when this board is supplied from the
  battery input, but has a DC source instead of a real battery
- use_5v_input - true when this board can use the 5V input

The third one is introduced with this patch and allow to boot a board from 5v
(USB) source only. The main necessary change this needs is that the DC-DC
converter must always be sourced from DCDC_4P2 (DROPOUT_CTRL field of
HW_POWER_DCDC4P2)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-02-03 09:23:47 +01:00
..
defaultenv-imx233-olinuxino ARM: imx233-olinuxino: update defaultenv 2015-01-07 09:55:19 +01:00
Makefile ARM: imx233-olinuxino: update defaultenv 2015-01-07 09:55:19 +01:00
imx23-olinuxino.c ARM: imx233-olinuxino: update defaultenv 2015-01-07 09:55:19 +01:00
lowlevel.c ARM: MXS: power-init: Add parameters to mx28_power_init() 2015-02-03 09:23:47 +01:00