• Tony Lindgren's avatar
    omap3: Fix cpu detection · e9acb9b6
    Tony Lindgren authored
    We need to set the omap_chip.oc carefully for the clocks to work.
    
    To fix this, set the omap_chip.oc in omap3_check_features() based
    on the CONTROL_IDCODE and silicon revision registers.
    
    Also add handling for 34xx es3.1.2 as es3.1 for now.
    
    Fixes booting on at least overo board.
    
    Based on an earlier patch by Paul Walmsley <paul@pwsan.com>.
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    e9acb9b6
id.c 10.3 KB