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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user