[U-Boot] [PATCH] nand_spl: Define nand_select function

Tom Rini
2012-10-23T17:46:03Z

On Tue, Oct 23, 2012 at 11:01:31PM +0530, Vikram Narayanan wrote:
> On 10/23/2012 9:17 PM, Tom Rini wrote:
> >On Tue, Oct 23, 2012 at 04:51:05PM +0530, Vikram Narayanan wrote:
> >
> >>Split up the selection of nand_chip from nand_init to a separate
> >>function. This is just to make it a little consistent as we've
> >>nand_deselect function.
> >>
> >>Also use it in spl_nand_load_image function.
> >>
> >>Signed-off-by: Vikram Narayanan<vikram186@gmail.com>
> >>Cc: Stefan Roese<sr@denx.de>
> >
> >What does this allow for us to do next? We've added a few bytes to SPL
> >and we're already close to being too large sometimes.
>
> Yep. 12 bytes added. If SPL is too much loaded to include this, the
> patch shall be dropped.

Since we're trying to squish down to 4kb and every byte counts, yes,
this might well be. Thanks.

--
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/20121023/ad3e6057/attachment.pgp>