[U-Boot] [PATCH 14/14] dm: sunxi: Move Linksprite_pcDuino3 to use DM for MMC, SATA

Maxime Ripard maxime.ripard at free-electrons.com
Tue Jun 20 06:45:02 UTC 2017


Hi Simon,

On Mon, Jun 19, 2017 at 11:11:31AM -0600, Simon Glass wrote:
> Move this board over to driver model for MMC and SATA. This means that it
> uses CONFIG_BLK as well. In SPL these options remain turned off since it
> increases the code size. One option would be to use CONFIG_SPL_OF_PLATDATA
> to avoid device-tree overhead.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  arch/arm/dts/sun7i-a20-pcduino3.dts   | 1 -
>  configs/Linksprite_pcDuino3_defconfig | 7 ++++++-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/dts/sun7i-a20-pcduino3.dts b/arch/arm/dts/sun7i-a20-pcduino3.dts
> index 1a8b39be1d..d487c84562 100644
> --- a/arch/arm/dts/sun7i-a20-pcduino3.dts
> +++ b/arch/arm/dts/sun7i-a20-pcduino3.dts
> @@ -164,7 +164,6 @@
>  	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
>  	vmmc-supply = <&reg_vcc3v3>;
>  	bus-width = <4>;
> -	cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */

Why is this change needed ? Is that the wrong GPIO? Should that be
submitted to Linux too?

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170620/6dc0b240/attachment.sig>


More information about the U-Boot mailing list