• vikram pandita's avatar
    omap3: zoom: split board file for software reuse · 479f12c9
    vikram pandita authored
    Split zoom2 board file into a base board file and a board-zoom-peripherals.c
    file. That way the same peripherals file can be reused for zoom3 and sdp3630
    in addition to zoom2.
    
    Also remove unused struct omap_board_config_kernel entry.
    
    NOTE: Keep the twl4030_madc_platform_data and twl4030_platform_data
    entries in board-zoom2.c to avoid merge conflicts with the pending
    patches in MFD tree. These entries will be removed later as a fix.
    
    Following list shows the commonality across the three platforms and hence the
    case for software reuse:
    
    Peripheral    zoom2    zoom3  sdp3630
    ---------------------------------------
    Ethernet        smsc    smsc    smc
    NOR             n/a     n/a     B
    Onenand         n/a     n/a     B
    HDMI            A       A       B (present on different i2c)
    NAND            A       A       A (same nand)
    SDRAM           A       A       A (same sdram)
    Keypad          A       A       A (same twl)
    Camera          A       A       A (same sensor can be mounted)
    LCD Display     A       A       A (same wvga display)
    OPPs            A       A       A (same chip feature)
    Audio           A       A       A (same audio via twl5030)
    Signed-off-by: default avatarVikram Pandita <vikram.pandita@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    479f12c9
board-zoom2.c 1.89 KB