mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-12-26 21:58:20 +01:00
patch no longer necessary
This commit is contained in:
parent
135b400592
commit
c7ff3a547a
2 changed files with 0 additions and 17 deletions
3
build.sh
3
build.sh
|
@ -79,9 +79,6 @@ function clone_pull_patch_sources() {
|
||||||
else
|
else
|
||||||
echo ". . cloning u-boot-sunxi"
|
echo ". . cloning u-boot-sunxi"
|
||||||
git clone https://github.com/cubieboard/u-boot-sunxi $DEST/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
|
fi
|
||||||
|
|
||||||
# Allwinner tools
|
# Allwinner tools
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in a new issue