summaryrefslogtreecommitdiff
path: root/board/kmc/kzm9g
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 12:20:28 -0600
committerTom Rini <trini@konsulko.com>2021-09-04 12:26:02 -0400
commit14c251ffe156e5b5b1332efcf5ed6fb7ae62cdc3 (patch)
tree964fb53ff5ae2e26b194d2709dc68c18844623eb /board/kmc/kzm9g
parent9d8665b7091d7d67df7dd31eafe1b54e25f6c3e4 (diff)
downloadu-boot-14c251ffe156e5b5b1332efcf5ed6fb7ae62cdc3.tar.gz
u-boot-14c251ffe156e5b5b1332efcf5ed6fb7ae62cdc3.tar.bz2
u-boot-14c251ffe156e5b5b1332efcf5ed6fb7ae62cdc3.zip
power: Add a POWER config
At present we have SPL_POWER but not piain POWER. This works because there is a special build rule in Makefile that always includes the drivers/power directory. It is better to have all driver directories included by drivers/Makefile and there is already a rule in there for this purpose. It just needs a Kconfig for U-Boot proper, so add one. Update the pmic.h header file so that it defines the old pmic struct always, when driver model is not in use. That will avoid build errors for boards which enable POWER but not DM_PMIC. Enable this option always. That seems strange at first sight, but it actually but mimics the current Makefile behaviour. Once we can drop the old PMICs it should be easy enough to rename DM_PMIC to POWWER, or something similar. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/kmc/kzm9g')
0 files changed, 0 insertions, 0 deletions