From: Michael Lauer Date: Sun, 12 Sep 2004 21:42:38 +0000 (+0000) Subject: fix address for mtdram block - spotted by Bernado X-Git-Tag: Release-2010-05/1~17232 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b87000a87088998f88b8bcb68c3bc04c0fde0050;p=openembedded.git fix address for mtdram block - spotted by Bernado BKrev: 4144c2ceGRJYCmI23QZT6aftpOQFrA --- diff --git a/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe b/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe index b3f9f257ba..0c9d041021 100644 --- a/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe +++ b/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe @@ -5,7 +5,7 @@ KV = "${@oe.data.getVar('PV',d,True).split('-')[0]}" VRSV = "${@oe.data.getVar('PV',d,True).split('-')[1]}" PXAV = "${@oe.data.getVar('PV',d,True).split('-')[2]}" JPMV = "${@oe.data.getVar('PV',d,True).split('-')[3]}" -PR = "r11" +PR = "r12" FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/opensimpad-${PV}" @@ -52,7 +52,8 @@ do_configure() { mempos=`echo "obase=16; $mem * 1024 * 1024" | bc` rdsize=`echo "$rd * 1024" | bc` total=`expr $mem + $rd` - addr=`echo "obase=16; ibase=16; C000000 + $mempos" | bc` + addr=`echo "obase=16; ibase=16; C0000000 + $mempos" | bc` + if [ "$rd" == "0" ] then echo "# CONFIG_MTD_MTDRAM_SA1100 is not set" >> ${S}/.config