summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-01-25 19:20:14 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-02 15:41:04 +0100
commit2ff23512d999a13afaa6f96b199b375a76cd1941 (patch)
tree6da5f22231b91f368bf535fe7931a7254e4f58f7 /drivers
parent341d550c504924d704a87389d04178e0c03af77d (diff)
downloadbarebox-2ff23512d999a13afaa6f96b199b375a76cd1941.tar.gz
barebox-2ff23512d999a13afaa6f96b199b375a76cd1941.tar.xz
imx: hab: rename driver dir to hab/
There's not only HABv4 but also HABv3. No need to put the corresponding code in separate directories, so rename the habv4 directory to hab. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/Makefile2
-rw-r--r--drivers/hab/Makefile1
-rw-r--r--drivers/hab/habv4.c (renamed from drivers/habv4/habv4.c)2
-rw-r--r--drivers/habv4/Makefile1
4 files changed, 3 insertions, 3 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 3afbb61b2d..8a8c8c44bd 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -30,4 +30,4 @@ obj-$(CONFIG_PCI) += pci/
obj-y += rtc/
obj-$(CONFIG_FIRMWARE) += firmware/
obj-$(CONFIG_GENERIC_PHY) += phy/
-obj-$(CONFIG_HABV4) += habv4/
+obj-$(CONFIG_HAB) += hab/
diff --git a/drivers/hab/Makefile b/drivers/hab/Makefile
new file mode 100644
index 0000000000..5c3b00c168
--- /dev/null
+++ b/drivers/hab/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_HABV4) += habv4.o
diff --git a/drivers/habv4/habv4.c b/drivers/hab/habv4.c
index 5ace0def2a..8521b88d03 100644
--- a/drivers/habv4/habv4.c
+++ b/drivers/hab/habv4.c
@@ -19,7 +19,7 @@
#define pr_fmt(fmt) "HABv4: " fmt
#include <common.h>
-#include <habv4.h>
+#include <hab.h>
#include <types.h>
#include <mach/generic.h>
diff --git a/drivers/habv4/Makefile b/drivers/habv4/Makefile
deleted file mode 100644
index 40b3253147..0000000000
--- a/drivers/habv4/Makefile
+++ /dev/null
@@ -1 +0,0 @@
-obj-y += habv4.o