[U-Boot] [RFC PATCH 01/14] dm: dts: Move omap device tree includes to correct place

Simon Glass sjg at chromium.org
Wed Sep 24 01:29:55 CEST 2014


These ended up in arch/arm/dts/dt-bindings temporarily, but in fact the
correct place is now include/dt-bindings. Move them to be consistent.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/arm/dts/dt-bindings/gpio/gpio.h                   | 15 ---------------
 {arch/arm/dts => include}/dt-bindings/pinctrl/am33xx.h |  0
 {arch/arm/dts => include}/dt-bindings/pinctrl/omap.h   |  0
 3 files changed, 15 deletions(-)
 delete mode 100644 arch/arm/dts/dt-bindings/gpio/gpio.h
 rename {arch/arm/dts => include}/dt-bindings/pinctrl/am33xx.h (100%)
 rename {arch/arm/dts => include}/dt-bindings/pinctrl/omap.h (100%)

diff --git a/arch/arm/dts/dt-bindings/gpio/gpio.h b/arch/arm/dts/dt-bindings/gpio/gpio.h
deleted file mode 100644
index e6b1e0a..0000000
--- a/arch/arm/dts/dt-bindings/gpio/gpio.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This header provides constants for most GPIO bindings.
- *
- * Most GPIO bindings include a flags cell as part of the GPIO specifier.
- * In most cases, the format of the flags cell uses the standard values
- * defined in this header.
- */
-
-#ifndef _DT_BINDINGS_GPIO_GPIO_H
-#define _DT_BINDINGS_GPIO_GPIO_H
-
-#define GPIO_ACTIVE_HIGH 0
-#define GPIO_ACTIVE_LOW 1
-
-#endif
diff --git a/arch/arm/dts/dt-bindings/pinctrl/am33xx.h b/include/dt-bindings/pinctrl/am33xx.h
similarity index 100%
rename from arch/arm/dts/dt-bindings/pinctrl/am33xx.h
rename to include/dt-bindings/pinctrl/am33xx.h
diff --git a/arch/arm/dts/dt-bindings/pinctrl/omap.h b/include/dt-bindings/pinctrl/omap.h
similarity index 100%
rename from arch/arm/dts/dt-bindings/pinctrl/omap.h
rename to include/dt-bindings/pinctrl/omap.h
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list