While the documentation does not mention anything
in this regard. There's clearly some bootloader
action in the DMA memory region.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
/* Turn off power */
turn_power_off();
/* Turn off power */
turn_power_off();
+ /* clean bootloader workspace */
+ memset(&dma_mem, 0, sizeof(dma_mem));
+
/* add by ygwei for work around USB PHY chirp sequence problem */
set(0x10f100, 0x12345678);
/* add by ygwei for work around USB PHY chirp sequence problem */
set(0x10f100, 0x12345678);