Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
d1e204b5
Commit
d1e204b5
authored
7 years ago
by
Peng Fan
Committed by
Stefano Babic
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
imx: mx7dsabresd: switch to DM USB
Switch to use DM USB. Signed-off-by:
Peng Fan
<
peng.fan@nxp.com
>
parent
709fef51
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
board/freescale/mx7dsabresd/mx7dsabresd.c
+0
-25
0 additions, 25 deletions
board/freescale/mx7dsabresd/mx7dsabresd.c
configs/mx7dsabresd_defconfig
+1
-0
1 addition, 0 deletions
configs/mx7dsabresd_defconfig
include/configs/mx7dsabresd.h
+0
-3
0 additions, 3 deletions
include/configs/mx7dsabresd.h
with
1 addition
and
28 deletions
board/freescale/mx7dsabresd/mx7dsabresd.c
+
0
−
25
View file @
d1e204b5
...
...
@@ -23,8 +23,6 @@
#include
<i2c.h>
#include
<asm/imx-common/mxc_i2c.h>
#include
<asm/arch/crm_regs.h>
#include
<usb.h>
#include
<usb/ehci-ci.h>
DECLARE_GLOBAL_DATA_PTR
;
...
...
@@ -84,14 +82,6 @@ static iomux_v3_cfg_t const uart1_pads[] = {
MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX
|
MUX_PAD_CTRL
(
UART_PAD_CTRL
),
};
static
iomux_v3_cfg_t
const
usb_otg1_pads
[]
=
{
MX7D_PAD_GPIO1_IO05__USB_OTG1_PWR
|
MUX_PAD_CTRL
(
NO_PAD_CTRL
),
};
static
iomux_v3_cfg_t
const
usb_otg2_pads
[]
=
{
MX7D_PAD_UART3_CTS_B__USB_OTG2_PWR
|
MUX_PAD_CTRL
(
NO_PAD_CTRL
),
};
#ifdef CONFIG_NAND_MXS
static
iomux_v3_cfg_t
const
gpmi_pads
[]
=
{
MX7D_PAD_SD3_DATA0__NAND_DATA00
|
MUX_PAD_CTRL
(
NAND_PAD_CTRL
),
...
...
@@ -315,11 +305,6 @@ int board_early_init_f(void)
{
setup_iomux_uart
();
imx_iomux_v3_setup_multiple_pads
(
usb_otg1_pads
,
ARRAY_SIZE
(
usb_otg1_pads
));
imx_iomux_v3_setup_multiple_pads
(
usb_otg2_pads
,
ARRAY_SIZE
(
usb_otg2_pads
));
return
0
;
}
...
...
@@ -403,13 +388,3 @@ int checkboard(void)
return
0
;
}
#ifdef CONFIG_USB_EHCI_MX7
int
board_usb_phy_mode
(
int
port
)
{
if
(
port
==
0
)
return
USB_INIT_DEVICE
;
else
return
USB_INIT_HOST
;
}
#endif
This diff is collapsed.
Click to expand it.
configs/mx7dsabresd_defconfig
+
1
−
0
View file @
d1e204b5
...
...
@@ -59,6 +59,7 @@ CONFIG_DM_REGULATOR_GPIO=y
CONFIG_DM_SPI=y
CONFIG_SOFT_SPI=y
CONFIG_USB=y
CONFIG_DM_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_MXC_USB_OTG_HACTIVE=y
CONFIG_USB_STORAGE=y
...
...
This diff is collapsed.
Click to expand it.
include/configs/mx7dsabresd.h
+
0
−
3
View file @
d1e204b5
...
...
@@ -219,12 +219,9 @@
#define CONFIG_MMCROOT "/dev/mmcblk0p2"
/* USDHC1 */
/* USB Configs */
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_MXC_USB_FLAGS 0
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_IMX_THERMAL
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment