• Tomasz Figa's avatar
    ARM: s3c64xx: dt: Fix boot failure due to double clock initialization · cb120572
    Tomasz Figa authored
    Commit
    
    4178bac4 ARM: call of_clk_init from default time_init handler
    
    added implicit call to of_clk_init() from default time_init callback,
    but it did not change platforms calling it from other callbacks, despite
    of not having custom time_init callbacks. This caused double clock
    initialization on such platforms, leading to boot failures. An example
    of such platform is mach-s3c64xx.
    
    This patch fixes boot failure on s3c64xx by dropping custom init_irq
    callback, which had a call to of_clk_init() and moving system reset
    initialization to init_machine callback. This allows us to have
    clocks initialized properly without a need to have custom init_time or
    init_irq callbacks.
    Signed-off-by: default avatarTomasz Figa <tomasz.figa@gmail.com>
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    cb120572
mach-s3c64xx-dt.c 1.75 KB