mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 09:00:45 +09:00
warp7: Switch to DM USB
This commit switches to DM USB for warp7 and warp7_bl33 defconfigs. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Joris Offouga <offougajoris@gmail.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
0710726d04
commit
6b503f9e65
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
mmc0 = &usdhc3;
|
mmc0 = &usdhc3;
|
||||||
|
usb0 = &usbotg1;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <asm/arch/crm_regs.h>
|
#include <asm/arch/crm_regs.h>
|
||||||
#include <usb.h>
|
|
||||||
#include <netdev.h>
|
#include <netdev.h>
|
||||||
#include <power/pmic.h>
|
#include <power/pmic.h>
|
||||||
#include <power/pfuze3000_pmic.h>
|
#include <power/pfuze3000_pmic.h>
|
||||||
@ -128,11 +127,6 @@ int checkboard(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int board_usb_phy_mode(int port)
|
|
||||||
{
|
|
||||||
return USB_INIT_DEVICE;
|
|
||||||
}
|
|
||||||
|
|
||||||
int board_late_init(void)
|
int board_late_init(void)
|
||||||
{
|
{
|
||||||
struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR;
|
struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR;
|
||||||
|
@ -41,6 +41,7 @@ CONFIG_DM_REGULATOR_GPIO=y
|
|||||||
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
CONFIG_DM_USB=y
|
||||||
CONFIG_USB_EHCI_HCD=y
|
CONFIG_USB_EHCI_HCD=y
|
||||||
CONFIG_MXC_USB_OTG_HACTIVE=y
|
CONFIG_MXC_USB_OTG_HACTIVE=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
|
@ -51,6 +51,7 @@ CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
CONFIG_OPTEE=y
|
CONFIG_OPTEE=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
CONFIG_DM_USB=y
|
||||||
CONFIG_USB_EHCI_HCD=y
|
CONFIG_USB_EHCI_HCD=y
|
||||||
CONFIG_MXC_USB_OTG_HACTIVE=y
|
CONFIG_MXC_USB_OTG_HACTIVE=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
|
Loading…
Reference in New Issue
Block a user