From e49679d5a1e6a6225980a9ae8455fef47e56ab12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 8 Jun 2013 15:48:14 +0300 Subject: usbdebug: Drop temporary disables of log output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this patch, output on usbdebug also includes the section of MTRR setups for every CPU. This makes usbdebug output almost identical with that of serial port and CBMEM console. Tested with model_206ax. Also tested previously on model_f2x which does not have these disable/enable calls in model_f2x_init() without detected issues. Change-Id: Idfd0e93439907b17255633658195d698feab3895 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/3423 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/cpu/amd/model_fxx/model_fxx_init.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/cpu/amd') diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c index d053894d68..a18b982bdb 100644 --- a/src/cpu/amd/model_fxx/model_fxx_init.c +++ b/src/cpu/amd/model_fxx/model_fxx_init.c @@ -456,31 +456,17 @@ static inline void k8_errata(void) } -#if CONFIG_USBDEBUG -static unsigned ehci_debug_addr; -#endif - static void model_fxx_init(device_t dev) { unsigned long i; msr_t msr; struct node_core_id id; -#if CONFIG_USBDEBUG - if (!ehci_debug_addr) - ehci_debug_addr = get_ehci_debug(); - set_ehci_debug(0); -#endif - /* Turn on caching if we haven't already */ x86_enable_cache(); amd_setup_mtrrs(); x86_mtrr_check(); -#if CONFIG_USBDEBUG - set_ehci_debug(ehci_debug_addr); -#endif - /* Update the microcode */ model_fxx_update_microcode(dev->device); -- cgit v1.2.3