summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-16 16:32:57 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-16 16:32:57 +0000
commit0f61a4fc98f135c0ed22c67ee3241bf5670a61e2 (patch)
treeb3867408477cdf8a3a2374f32d91b4f3936b7486 /src/console
parent9969bdc4fb3d36a39ed9efb67ef0bf638a4e8e09 (diff)
downloadcoreboot-0f61a4fc98f135c0ed22c67ee3241bf5670a61e2.tar.xz
Change CONFIG_LB_MEM_TOPK to CONFIG_RAMTOP to match CONFIG_RAMBASE.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4788 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console')
-rw-r--r--src/console/usbdebug_direct_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/usbdebug_direct_console.c b/src/console/usbdebug_direct_console.c
index 388715cff8..d1006598b0 100644
--- a/src/console/usbdebug_direct_console.c
+++ b/src/console/usbdebug_direct_console.c
@@ -53,7 +53,7 @@ static void dbgp_init(void)
* debug_info data structure to our version defined above. */
dbg_infox = (struct ehci_debug_info *)
- ((CONFIG_LB_MEM_TOPK << 10) - sizeof(struct ehci_debug_info));
+ ((CONFIG_RAMTOP) - sizeof(struct ehci_debug_info));
memcpy(&dbg_info, dbg_infox, sizeof(struct ehci_debug_info));
}