drivers/xpowers: Switch to src/drivers/[X]/[Y]/ scheme

Reorder drivers to fit src/drivers/[X]/[Y]/ scheme to make
them pluggable.

Change-Id: Idae5ee5f1f48d904b704abe618165c0bec839979
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/14048
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Stefan Reinauer 2016-03-11 20:17:55 -08:00
parent 3dc5d079fe
commit 5c4ddebb16
3 changed files with 7 additions and 5 deletions

View File

@ -1 +0,0 @@
source src/drivers/xpowers/axp209/Kconfig

View File

@ -1 +0,0 @@
subdirs-$(CONFIG_DRIVER_XPOWERS_AXP209) += axp209

View File

@ -1,3 +1,7 @@
ifeq ($(CONFIG_DRIVER_XPOWERS_AXP209),y)
bootblock-$(CONFIG_DRIVER_XPOWERS_AXP209_BOOTBLOCK) += axp209.c bootblock-$(CONFIG_DRIVER_XPOWERS_AXP209_BOOTBLOCK) += axp209.c
romstage-$(CONFIG_DRIVER_XPOWERS_AXP209) += axp209.c romstage-y += axp209.c
ramstage-$(CONFIG_DRIVER_XPOWERS_AXP209) += axp209.c ramstage-y += axp209.c
endif