[PATCH v2] usb: musb-new: sunxi: remove unused define
Marek Vasut
marex at denx.de
Thu Jun 8 21:58:04 CEST 2023
On 6/8/23 20:45, Sam Edwards wrote:
> This is a remnant from when the USB controller driver managed
> the reset signal itself. A patch from the very end of 2018 changed
> this driver to delegate reset (and clock) management to the proper
> control unit driver, but left this unused define behind.
>
> Signed-off-by: Sam Edwards <CFSworks at gmail.com>
> Reviewed-by: Marek Vasut <marex at denx.de>
> ---
> drivers/usb/musb-new/sunxi.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c
> index 2b954601a0..85d815ad75 100644
> --- a/drivers/usb/musb-new/sunxi.c
> +++ b/drivers/usb/musb-new/sunxi.c
> @@ -81,8 +81,6 @@
> * From usbc/usbc.c
> ******************************************************************************/
>
> -#define OFF_SUN6I_AHB_RESET0 0x2c0
> -
> struct sunxi_musb_config {
> struct musb_hdrc_config *config;
> bool has_sram;
Applied to usb/master, thanks
More information about the U-Boot
mailing list