]> git.dujemihanovic.xyz Git - u-boot.git/commit
pmic: Introduce power_init_board() method at ./lib/board.c file
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 13 Nov 2012 03:21:56 +0000 (03:21 +0000)
committerAnatolij Gustschin <agust@denx.de>
Wed, 14 Nov 2012 10:21:09 +0000 (11:21 +0100)
commit2ffb4beb50adf4dca60b6953c3d4c30230cc94d8
tree7693df6ea4c5a079bdc9c269f92fbb3014c5b321
parentc7336815078ff3745e3130aeff35991e3e98e61e
pmic: Introduce power_init_board() method at ./lib/board.c file

It is necessary to introduce a new system wide function- power_init_board()

It turns out, that power initialization must be done as early as possible.
In the case of PMIC framework redesign, which aims to support multiple
instances of PMIC devices the initialization shall be performed just
after malloc configuration.

The power_init_board function is a weak function with default implementation.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
arch/arm/lib/board.c