summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/usbdebug_direct_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pc80/usbdebug_direct_serial.c b/src/pc80/usbdebug_direct_serial.c
index 8a8b8c6c1e..21f6109ce3 100644
--- a/src/pc80/usbdebug_direct_serial.c
+++ b/src/pc80/usbdebug_direct_serial.c
@@ -45,7 +45,7 @@ void usbdebug_direct_ram_tx_byte(unsigned char data)
/* "Find" dbg_info structure in RAM */
dbg_info = (struct ehci_debug_info *)
- ((CONFIG_LB_MEM_TOPK << 10) - sizeof(struct ehci_debug_info));
+ ((CONFIG_RAMTOP) - sizeof(struct ehci_debug_info));
if (dbg_info->ehci_debug) {
dbgp_bulk_write_x(dbg_info, &data, 1);