[U-Boot-Users] [PATCH] ppc4xx: Fix Katmai CFG_MONITOR_LEN

Stefan Roese sr at denx.de
Tue Apr 29 15:59:27 CEST 2008


On Tuesday 29 April 2008, Wolfgang Denk wrote:
> In message <1209471160-4453-1-git-send-email-sr at denx.de> you wrote:
> > Signed-off-by: Stefan Roese <sr at denx.de>
>
> ...
>
> > -#define CFG_MONITOR_LEN		(256 * 1024)	/* Reserve 256 kB for Mon */
> > +#define CFG_MONITOR_LEN		(384 * 1024)	/* Reserve 384 kB for Mon */
>
> Hm... maybe we should become defensive and use
>
> #define CFG_MONITOR_LEN (0xFFFFFFFF - CFG_MONITOR_BASE + 1)
>
> instead?

Yep, even better. I'll make the necessary changes.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list