• Greg Ungerer's avatar
    m68knommu: use general interrupt controller for ColdFire 520x family · dcfc6d95
    Greg Ungerer authored
    Create general interrupt controller code for the ColdFire 520x family,
    that does proper masking and unmasking of interrupts. With this in
    place some of the driver hacks in place to support ColdFire interrupts
    can finally go away.
    
    Within the ColdFire family there is a variety of different interrupt
    controllers in use. Some are used on multiple parts, some on only one.
    There is quite some differences in some varients, so much so that
    common code for all ColdFire parts would be impossible.
    
    This commit introduces code to support one of the newer interrupt
    controllers in the ColdFire 5208 and 5207 parts. It has very simple
    mask and unmask operations, so is one of the easiest to support.
    Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
    dcfc6d95
intc-simr.c 1.48 KB