]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: Rearrange code to guard power command with CONFIG_SPL_BUILD guard
authorTom Rini <trini@konsulko.com>
Fri, 22 Dec 2017 17:27:14 +0000 (12:27 -0500)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 15:07:57 +0000 (00:07 +0900)
commit8c0bb8582459a739ac27eda3d738734e489d0465
tree81828da33233ce177b0aa58d0e67f3c80884e7a3
parentb7a6e2c9c396c35596f467f5187da937306ddeb8
power: Rearrange code to guard power command with CONFIG_SPL_BUILD guard

In order to discard this code when unused in SPL we need to guard the
command with a check for CONFIG_SPL_BUILD and we rearrange the code
slightly to make this cleaner.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/power/power_core.c