Pick a safer default for CacheBase -- not C segment.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@81 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Ronald G. Minnich 2007-02-23 07:15:58 +00:00
commit dd74fdac61

View file

@ -214,8 +214,9 @@ __protected_stage0:
#define CacheSize CONFIG_CARSIZE
#endif
/* pick a safer value for default -- i.e. not the C segment! */
#ifndef CONFIG_CARBASE
#define CacheBase (0xd0000 - CacheSize)
#define CacheBase (0x90000 - CacheSize)
#else
#define CacheBase CONFIG_CARBASE
#endif