> -----Original Message----- > From: Gala Kumar-B11780 > Sent: Friday, September 11, 2009 11:13 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [PATCH v2 1/5] 85xx: add boot from > NAND/eSDHC/eSPI support > > > On Sep 10, 2009, at 9:53 PM, Mingkai Hu wrote: > > > diff --git a/cpu/mpc85xx/tlb.c b/cpu/mpc85xx/tlb.c index > > 0497a29..9c7c928 100644 > > --- a/cpu/mpc85xx/tlb.c > > +++ b/cpu/mpc85xx/tlb.c > > @@ -59,6 +59,7 @@ void set_tlb(u8 tlb, u32 epn, u64 rpn, #endif } > > > > +#ifndef CONFIG_NAND_SPL > > void disable_tlb(u8 esel) > > { > > u32 _mas0, _mas1, _mas2, _mas3, _mas7; @@ -83,6 +84,7 @@ void > > disable_tlb(u8 esel) > > addrmap_set_entry(0, 0, 0, esel); > > #endif > > } > > +#endif > > > > void invalidate_tlb(u8 tlb) > > { > > @@ -106,6 +108,7 @@ void init_tlbs(void) > > return ; > > } > > > > +#ifdef CONFIG_ADDR_MAP > > why ADDR_MAP? >
Oh..., sorry, copy error, it should be NAND_SPL. I'll send it again. Without this, the 4K NAND loader size will over 4K. Thanks, Mingkai _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot