dm: avoid dropping pin control DT properties in case of SPL_PINCTRL
authorVikas Manocha <vikas.manocha@st.com>
Fri, 24 Mar 2017 21:47:44 +0000 (14:47 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:15:10 +0000 (20:15 -0600)
This patch replaces SPL_PINCTRL_FULL with SPL_PINCNTRL. It is to avoid removal
of pin control properties in case of SPL_PINCTRL. No impact in case of
SPL_PINCTRL_FULL as it depends on SPL_PINCTRL.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
dts/Kconfig

index 3f64eda61910a04174672af64df7c010455b096a..6fe7a5bc08adf4caccbf3bccc9cb9ca4283b599f 100644 (file)
@@ -83,8 +83,8 @@ config OF_LIST
 config OF_SPL_REMOVE_PROPS
        string "List of device tree properties to drop for SPL"
        depends on SPL_OF_CONTROL
-       default "interrupt-parent" if SPL_PINCTRL_FULL && SPL_CLK
-       default "clocks clock-names interrupt-parent" if SPL_PINCTRL_FULL
+       default "interrupt-parent" if SPL_PINCTRL && SPL_CLK
+       default "clocks clock-names interrupt-parent" if SPL_PINCTRL
        default "pinctrl-0 pinctrl-names interrupt-parent" if SPL_CLK
        default "pinctrl-0 pinctrl-names clocks clock-names interrupt-parent"
        help