[U-Boot] [PATCH v4 2/5] arm bootm: Do not append zero ATAG_MEM

Tom Rini
2012-10-29T17:37:07Z

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 <pali.rohar@gmail.com>
> >
> > 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: <http://lists.denx.de/pipermail/u-boot/attachments/20121029/22692ff9/attachment.pgp>