GPIO Patch to create device according to linux/documentation/gpio.txt

This commit is contained in:
Deksan 2014-01-02 16:13:39 +01:00
parent c1ca9f36ef
commit d67636cd39

View file

@ -58,6 +58,8 @@ fi
# Applying Patch for 2gb memory
patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < patch/memory.patch || true
# Applying Patch for gpio
patch -f $DEST/linux-sunxi/drivers/gpio/gpio-sunxi.c < patch/gpio.patch || true
#Change Video output ( TODO add a param so the user can choose that ?)
sed -e 's/output_type = [0-9]*/output_type = '$DISPLAY'/g' $DEST/cubie_configs/sysconfig/linux/cubietruck.fex > $DEST/cubie_configs/sysconfig/linux/cubietruck-vga.fex