Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Loading
  • Stefan Roese's avatar
    d1631fe1
    ppc4xx: Consolidate PPC4xx UIC defines · d1631fe1
    Stefan Roese authored
    
    This 2nd patch now removes all UIC mask bit definition. They should be
    generated from the vectors by using the UIC_MASK() macro from now on.
    This way only the vectors need to get defined for new PPC's.
    
    Also only the really used interrupt vectors are now defined. This makes
    definitions for new PPC versions easier and less error prone.
    
    Another part of this patch is that the 4xx emac driver got a little
    cleanup, since now the usage of the interrupts is clearer.
    
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    d1631fe1
    History
    ppc4xx: Consolidate PPC4xx UIC defines
    Stefan Roese authored
    
    This 2nd patch now removes all UIC mask bit definition. They should be
    generated from the vectors by using the UIC_MASK() macro from now on.
    This way only the vectors need to get defined for new PPC's.
    
    Also only the really used interrupt vectors are now defined. This makes
    definitions for new PPC versions easier and less error prone.
    
    Another part of this patch is that the 4xx emac driver got a little
    cleanup, since now the usage of the interrupts is clearer.
    
    Signed-off-by: default avatarStefan Roese <sr@denx.de>