diff --git a/build.sh b/build.sh index 6fd1a16..18f8761 100755 --- a/build.sh +++ b/build.sh @@ -79,9 +79,6 @@ function clone_pull_patch_sources() { else echo ". . cloning u-boot-sunxi" git clone https://github.com/cubieboard/u-boot-sunxi $DEST/u-boot-sunxi - - echo ". . patching u-boot-sunxi to detect Cubietruck's 2GiB of RAM" - patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < $CWD/patches/u-boot-sunxi/memory.patch || true fi # Allwinner tools diff --git a/patches/u-boot-sunxi/memory.patch b/patches/u-boot-sunxi/memory.patch deleted file mode 100644 index b25b945..0000000 --- a/patches/u-boot-sunxi/memory.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- /tmp/sunxi-common.h 2013-12-29 14:06:42.199693905 +0100 -+++ include/configs/sunxi-common.h 2013-12-29 14:07:11.395693156 +0100 -@@ -74,7 +74,11 @@ - /* A10 has 1 banks of DRAM, we use only bank 1 in U-Boot */ - #define CONFIG_NR_DRAM_BANKS 1 - #define PHYS_SDRAM_0 CONFIG_SYS_SDRAM_BASE -+#ifdef CONFIG_SUN7I -+#define PHYS_SDRAM_0_SIZE 0x80000000 -+#else - #define PHYS_SDRAM_0_SIZE 0x40000000 -+#endif - #if 0 - /* Nand config */ - #define CONFIG_NAND