Skip to content
Snippets Groups Projects
  • Wolfgang Denk's avatar
    57d6c589
    WINBOND_83C553: enable only on boards that actually use it. · 57d6c589
    Wolfgang Denk authored
    
    So far, only the BAB7xx board would call the initialise_w83c553f()
    function for the WINBOND 83C553 chip, even though some other boards
    (HIDDEN_DRAGON, Sandpoint8240, Sandpoint8245) enabled it in their
    board configuration.  These boards were also missing other config
    settings needed for that, which resulted in build errors like this:
    
    drivers/pci/libpci.o:(.got2+0x84): undefined reference to `ide_bus_offset'
    
    Switch arch/powerpc/lib/board.c to call initialise_w83c553f() not on a
    per-board base, but when a WINBOND_83C553 in enabled in a
    configuration (like BAB7xx), and disable it in the boards that had
    this set so far.
    
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    Cc: Yusdi Santoso <yusdi_santoso@adaptec.com>
    Cc: Jim Thompson <jim@musenki.com>
    Acked-by: default avatarStefan Roese <sr@denx.de>
    57d6c589
    History
    WINBOND_83C553: enable only on boards that actually use it.
    Wolfgang Denk authored
    
    So far, only the BAB7xx board would call the initialise_w83c553f()
    function for the WINBOND 83C553 chip, even though some other boards
    (HIDDEN_DRAGON, Sandpoint8240, Sandpoint8245) enabled it in their
    board configuration.  These boards were also missing other config
    settings needed for that, which resulted in build errors like this:
    
    drivers/pci/libpci.o:(.got2+0x84): undefined reference to `ide_bus_offset'
    
    Switch arch/powerpc/lib/board.c to call initialise_w83c553f() not on a
    per-board base, but when a WINBOND_83C553 in enabled in a
    configuration (like BAB7xx), and disable it in the boards that had
    this set so far.
    
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    Cc: Yusdi Santoso <yusdi_santoso@adaptec.com>
    Cc: Jim Thompson <jim@musenki.com>
    Acked-by: default avatarStefan Roese <sr@denx.de>