[coreboot] [v2] r4775 - trunk/coreboot-v2/src/northbridge/via/cn700
svn at coreboot.org
svn at coreboot.org
Wed Oct 14 22:49:50 CEST 2009
Author: myles
Date: 2009-10-14 22:49:49 +0200 (Wed, 14 Oct 2009)
New Revision: 4775
Modified:
trunk/coreboot-v2/src/northbridge/via/cn700/northbridge.c
Log:
Fix high tables address calculation on cn700 with VIDEO_MB > 0.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified: trunk/coreboot-v2/src/northbridge/via/cn700/northbridge.c
===================================================================
--- trunk/coreboot-v2/src/northbridge/via/cn700/northbridge.c 2009-10-14 03:19:33 UTC (rev 4774)
+++ trunk/coreboot-v2/src/northbridge/via/cn700/northbridge.c 2009-10-14 20:49:49 UTC (rev 4775)
@@ -186,8 +186,8 @@
}
#if CONFIG_HAVE_HIGH_TABLES == 1
- high_tables_base = (tolmk - HIGH_TABLES_SIZE) * 1024;
- high_tables_size = HIGH_TABLES_SIZE* 1024;
+ high_tables_base = (tolmk - CONFIG_VIDEO_MB * 1024 - HIGH_TABLES_SIZE) * 1024;
+ high_tables_size = HIGH_TABLES_SIZE * 1024;
printk_debug("tom: %lx, high_tables_base: %llx, high_tables_size: %llx\n", tomk*1024, high_tables_base, high_tables_size);
#endif
More information about the coreboot
mailing list