• Tony Lindgren's avatar
    bus: ti-sysc: Allocate mdata as needed and do platform data based init later · a3e92e7b
    Tony Lindgren authored
    The platform data based init functions typically reset the interconnect
    target module configure the registers. As we may need the interconnect
    target module specific quirks configured based on the revision register,
    we want to move the platform data based init to happen later.
    
    Let's allocate mdata as needed so it's available for sysc_legacy_init()
    that we call with module clocks enabled from sysc_init_module().
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    a3e92e7b
ti-sysc.c 45.5 KB