mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
x86: ivybridge: Drop CONFIG_USBDEBUG
This is not used anywhere. Clean this up. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@ -242,11 +242,6 @@ static int sdram_initialise(struct udevice *dev, struct udevice *me_dev,
|
|||||||
version >> 24 , (version >> 16) & 0xff,
|
version >> 24 , (version >> 16) & 0xff,
|
||||||
(version >> 8) & 0xff, version & 0xff);
|
(version >> 8) & 0xff, version & 0xff);
|
||||||
|
|
||||||
#if CONFIG_USBDEBUG
|
|
||||||
/* mrc.bin reconfigures USB, so reinit it to have debug */
|
|
||||||
early_usbdebug_init();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -393,10 +393,6 @@ static void configure_mca(void)
|
|||||||
msr_write(IA32_MC0_STATUS + (i * 4), msr);
|
msr_write(IA32_MC0_STATUS + (i * 4), msr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_USBDEBUG
|
|
||||||
static unsigned ehci_debug_addr;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int model_206ax_init(struct udevice *dev)
|
static int model_206ax_init(struct udevice *dev)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
@ -404,17 +400,6 @@ static int model_206ax_init(struct udevice *dev)
|
|||||||
/* Clear out pending MCEs */
|
/* Clear out pending MCEs */
|
||||||
configure_mca();
|
configure_mca();
|
||||||
|
|
||||||
#if CONFIG_USBDEBUG
|
|
||||||
/* Is this caution really needed? */
|
|
||||||
if (!ehci_debug_addr)
|
|
||||||
ehci_debug_addr = get_ehci_debug();
|
|
||||||
set_ehci_debug(0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if CONFIG_USBDEBUG
|
|
||||||
set_ehci_debug(ehci_debug_addr);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable the local cpu apics */
|
/* Enable the local cpu apics */
|
||||||
enable_lapic_tpr();
|
enable_lapic_tpr();
|
||||||
|
|
||||||
|
@ -4581,7 +4581,6 @@ CONFIG_USART1
|
|||||||
CONFIG_USART_BASE
|
CONFIG_USART_BASE
|
||||||
CONFIG_USART_ID
|
CONFIG_USART_ID
|
||||||
CONFIG_USBBOOTCOMMAND
|
CONFIG_USBBOOTCOMMAND
|
||||||
CONFIG_USBDEBUG
|
|
||||||
CONFIG_USBD_CONFIGURATION_STR
|
CONFIG_USBD_CONFIGURATION_STR
|
||||||
CONFIG_USBD_CTRL_INTERFACE_STR
|
CONFIG_USBD_CTRL_INTERFACE_STR
|
||||||
CONFIG_USBD_DATA_INTERFACE_STR
|
CONFIG_USBD_DATA_INTERFACE_STR
|
||||||
|
Reference in New Issue
Block a user