diff options
Diffstat (limited to 'src/console/usbdebug_direct_console.c')
-rw-r--r-- | src/console/usbdebug_direct_console.c | 2 |
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)); } |