From d67636cd39de8d6791a33e2b034a31b92fdb26ae Mon Sep 17 00:00:00 2001 From: Deksan Date: Thu, 2 Jan 2014 16:13:39 +0100 Subject: [PATCH] GPIO Patch to create device according to linux/documentation/gpio.txt --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 85d8b28..629b2cf 100644 --- a/build.sh +++ b/build.sh @@ -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