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

Wolfgang Denk wd at denx.de
Tue Apr 29 15:37:27 CEST 2008


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?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's certainly  convenient  the  way  the  crime  (or  condition)  of
stupidity   carries   with   it  its  own  punishment,  automatically
admisistered without remorse, pity, or prejudice. :-)
         -- Tom Christiansen in <559seq$ag1$1 at csnews.cs.colorado.edu>




More information about the U-Boot mailing list