patch no longer necessary

This commit is contained in:
Gwenhael Le Moine 2014-08-20 15:33:02 +02:00
parent 135b400592
commit c7ff3a547a
2 changed files with 0 additions and 17 deletions

View file

@ -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

View file

@ -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