From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 29 Oct 2012 10:37:07 -0700 Subject: [U-Boot] [PATCH v4 2/5] arm bootm: Do not append zero ATAG_MEM In-Reply-To: <201210271729.32265.marex@denx.de> References: <1327415291-13260-1-git-send-email-pali.rohar@gmail.com> <1350648008-25514-3-git-send-email-pali.rohar@gmail.com> <20121026175201.GE31793@bill-the-cat> <201210271729.32265.marex@denx.de> Message-ID: <20121029173707.GD15691@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Oct 27, 2012 at 05:29:32PM +0200, Marek Vasut wrote: > Dear Tom Rini, > > > On Fri, Oct 19, 2012 at 02:00:05PM +0200, Pali Roh??r wrote: > > > If dram bank size is calculated at runtime, it can be zero on some > > > boards. This patch added code which ignore these zero bank size in > > > ATAG_MEM. > > > > > > Signed-off-by: Pali Roh??r > > > > My reading of the kernel's arm_add_memory says that empty ATAG_MEM tags > > are handled correctly (which is to say, parsed and found as -EINVAL). > > So if we _have_to_ we can add this change. > > I don't think we _have_to_ ... Indeed. After talking with Pali on irc some more and checking things again, we can simply drop this patch. Other platforms pass 0 size ATAG_MEM to the kernel and have for ages, so it's handled. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: