[U-Boot] [PATCH v3 0/4] rockchip: rk3288: add fastboot support

Simon Glass sjg at chromium.org
Tue Jul 12 01:54:20 CEST 2016


Hi,

On 6 July 2016 at 03:34, Ziyuan Xu <xzy.xu at rock-chips.com> wrote:
> This patchset add the fastboot support for rk3288, and I have tested on
> firefly-rk3288 board.
>
> Fix an issue which was mentioned in V1's cover-letter:
> The DMA buffer was always zero after DMA transfer is complete, It takes
> no effect that invalidate dcache after the DMA is complete and before
> the CPU reads it. It's important to invalidate dcache before starting
> DMA, ensure coherency and prevent from any dirty lines in the cache
> which from the DMA buffer.
>
> Summary of changes in this series:
> - Achieve UOC_CON_OFFSET physical address from DT
> - Make UOC_CON registers to be unfixed which should be got from DT
> - Add new commit dd77b11fd44a84 (usb: dwc2: Invalidate dcache before
> staring DMA)
>
> Changes in v3:
> - Make UOC_CON registers to be unfixed which should be got from DT
> - Achieve UOC_CON_OFFSET physical address from DT
> - New commit since v3 to fix the coherence issue between memory and
> cache
>
> Changes in v2:
> - Rename rk3288_usb_phy.c to rockchip_usb_syno_phy.c
> - Rework the behaviour in otg_phy_init() and otg_phy_off()
> - Update detailed commit message
> - Modify the macro's values
> - Achieve the regs_phy from DT
> - Update comments a little
>
> Xu Ziyuan (4):
>   usb: rockchip-phy: implement USB2.0 phy control for Synopsys
>   usb: dwc2-otg: re-define fifo-size for Rockchip SoCs
>   rockchip: rk3288: add fastboot support
>   usb: dwc2: invalidate dcache before starting DMA
>
>  arch/arm/dts/rk3288.dtsi                   |  1 +
>  arch/arm/mach-rockchip/board.c             | 60 ++++++++++++++++++++++++++++++
>  drivers/usb/gadget/dwc2_udc_otg_regs.h     |  6 +++
>  drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c |  3 ++
>  drivers/usb/phy/Makefile                   |  1 +
>  drivers/usb/phy/rockchip_usb_syno_phy.c    | 47 +++++++++++++++++++++++
>  include/configs/rk3288_common.h            | 26 +++++++++++++
>  7 files changed, 144 insertions(+)
>  create mode 100644 drivers/usb/phy/rockchip_usb_syno_phy.c

I'm holding off applying for a new version of this series.

Regards,
Simon


More information about the U-Boot mailing list