• Ivan Khoronzhuk's avatar
    ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif · 67f5185c
    Ivan Khoronzhuk authored
    The problem that the set timings code contains the call of Davinci
    platform function davinci_aemif_setup_timing() which is not
    accessible if kernel is built for another platform like Keystone.
    
    The Keysone platform is going to use TI AEMIF driver.
    If TI AEMIF is used we don't need to set timings and bus width.
    It is done by AEMIF driver.
    
    To get rid of davinci-nand driver dependency on aemif platform code
    we moved aemif code to davinci platform.
    
    The platform AEMIF code (aemif.c) has to be removed once Davinci
    will be converted to DT and use ti-aemif.c driver.
    Acked-by: default avatarBrian Norris <computersforpeace@gmail.com>
    Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
    [nsekhar@ti.com: fixed checkpatch error and a build breakage due to
    		 missing include, rebased onto l2-mtd/master]
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    67f5185c
board-dm646x-evm.c 18.3 KB