• Andre Przywara's avatar
    spi: Observe proper clock initialisation order · 205e208a
    Andre Przywara authored
    
    
    The CCU section in all Allwinner manuals asks to de-assert the reset
    signal first, then to ungate the bus clock.
    On a nearby note it also requires to switch dividers before changing the
    clock source.
    
    The SPI flash code violated those two rules, fix this to make the code
    more robust.
    Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
    205e208a
fel-spiflash.c 16.2 KB