• James Hogan's avatar
    metag: init common clk and use "core" clk · caa279dd
    James Hogan authored
    
    
    If the common clock framework is enabled, call of_clk_init(NULL) in
    time_init() to register device tree clocks with the clock framework.
    
    After this time_init() calls a new function init_metag_clocks(), which
    looks for a clock named "core" in the node compatible with "img,meta"
    (usually the root node). If found the get_core_freq machine callback is
    overridden to obtain the core clock frequency using that clock.
    Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
    Cc: Mike Turquette <mturquette@linaro.org>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: devicetree-discuss@lists.ozlabs.org
    caa279dd
meta.txt 857 Bytes