On Wed, May 2, 2012 at 8:51 PM, Arnd Bergmann <[email protected]> wrote: > On Wednesday 02 May 2012, Haojian Zhuang wrote: >> I use two CONFIG_OF in this file. The first one is used to record >> register base address >> of interrupt controller. In legacy code, the register address is >> hardcoding. Do you mean >> that I should remove this CONFIG_OF? > > Unless it's a noticeable performance impact, I would recommend just > always using the mmp_icu_base variable, even for when CONFIG_OF is > disabled. > > Arnd
But I appended new irq handler for DT support. I still need to reserve this CONFIG_OF since I need to keep compatible with legacy code. While everything in arch-mmp is moved into DT, I can remove this CONFIG_OF. For the second CONFIG_OF, I can try to remove it. Best Regards Haojian _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
