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:
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user