[PATCH 1/3] usb: musb-new: sunxi: do not attempt to access NULL SRAMC

Marek Vasut marex at denx.de
Mon Jun 5 12:00:58 CEST 2023


On 6/2/23 23:49, Sam Edwards wrote:
> I believe that some sunxis (ncat2?) lack a SRAMC block,
> as accessing this region results in a data abort. Checking
> that it's non-null before accessing it allows this to be
> set to NULL for SoCs where it's not present.
> 
> Signed-off-by: Sam Edwards <CFSworks at gmail.com>

Could it be that the SRAMC clock need to be enabled instead ?
(note that I don't know anything about sunxi stuff)


More information about the U-Boot mailing list