summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/board/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-10-12 08:26:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-13 08:45:15 +0200
commitd2748c1ae720ee594fa56d8185b59fbfb222b23b (patch)
tree2cb74b864e9651b35b99faac214b5998e9277ea6 /arch/sandbox/board/Makefile
parentf2b9f45263f839f5e42a9f83ed69af6f39e8b2ae (diff)
downloadbarebox-d2748c1ae720ee594fa56d8185b59fbfb222b23b.tar.gz
barebox-d2748c1ae720ee594fa56d8185b59fbfb222b23b.tar.xz
sandbox: poweroff: migrate to driver probed from device tree
Follow-up will extend the poweroff driver to support system reset source. Set the stage by renaming the driver to power (as it does reset as well) and make it probe from device tree, so it can point at the system reset source syscon via phandle. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/board/Makefile')
-rw-r--r--arch/sandbox/board/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/board/Makefile b/arch/sandbox/board/Makefile
index 26f6cb1922..e50d2ca0f1 100644
--- a/arch/sandbox/board/Makefile
+++ b/arch/sandbox/board/Makefile
@@ -4,7 +4,7 @@ obj-y += hostfile.o
obj-y += console.o
obj-y += devices.o
obj-y += dtb.o
-obj-y += poweroff.o
+obj-y += power.o
obj-y += dev-random.o
extra-y += barebox.lds