• Stefan Roese's avatar
    ppc4xx: Kilauea: Add CPLD version detection and EBC reconfiguration · 580ca3c2
    Stefan Roese authored
    
    
    A newer CPLD version on the 405EX evaluation board requires a different
    EBC controller setup for the CPLD register access. This patch adds a CPLD
    version detection for Kilauea and code to reconfigure the EBC controller
    (chip select 2) for the old CPLD if no new version is found.
    
    Additionally the CPLD version is printed upon bootup:
    
    Board: Kilauea - AMCC PPC405EX Evaluation Board (CPLD rev. 0)
    Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
    Acked-by: Wolfgang Denk's avatarWolfgang Denk <wd@denx.de>
    Cc: Zhang Bao Quan <bqzhang@udtech.com.cn>
    580ca3c2
kilauea.c 15.9 KB