forked from Minki/linux
fc8e50e349
The stuff below cleans up the code attempting to remap the whole cpm2_immr early, as well as places happily assuming that fact. This is more like the 2.4 legacy stuff, and is at least confusing and unclear now. To keep the world comfortable, a new mechanism is introduced: before accessing specific immr register/register set, one needs to map it, using cpm2_map(<reg>), for instance, access to CPM command register will look like volatile cpm_cpm2_t *cp = cpm2_map(im_cpm); keeping the code clear, yet without "already defined somewhere" cpm2_immr. So far, unmapping code is not implemented, but it's not a big deal to add it, if the whole idea makes sense. Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> |
||
---|---|---|
.. | ||
cpm2_common.c | ||
cpm2_pic.c | ||
cpm2_pic.h | ||
dart_iommu.c | ||
dart.h | ||
dcr.S | ||
fsl_soc.c | ||
fsl_soc.h | ||
grackle.c | ||
i8259.c | ||
indirect_pci.c | ||
ipic.c | ||
ipic.h | ||
Makefile | ||
mmio_nvram.c | ||
mpic.c | ||
todc.c | ||
tsi108_dev.c | ||
tsi108_pci.c |