From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 26 Oct 2012 10:52:01 -0700 Subject: [U-Boot] [PATCH v4 2/5] arm bootm: Do not append zero ATAG_MEM In-Reply-To: <1350648008-25514-3-git-send-email-pali.rohar@gmail.com> References: <1327415291-13260-1-git-send-email-pali.rohar@gmail.com> <1350648008-25514-1-git-send-email-pali.rohar@gmail.com> <1350648008-25514-3-git-send-email-pali.rohar@gmail.com> Message-ID: <20121026175201.GE31793@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 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. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: