[PATCH 2/6] ARM: add Highbank core platform support
From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-08-25 15:59:54
From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-08-25 15:59:54
On Thursday 25 August 2011, Rob Herring wrote:
Looking at this some more, it doesn't work too well. platsmp.c depends on CONFIG_SMP, but the SCU mapping is always needed even for !SMP because the SCU has a power mode register for each core used by the power controller. So putting it in platsmp.c would add ifdefs. So I'll move out the lluart mapping, but keep SCU mapping in highbank.c.
Ok, makes sense. Another alternative would be to have multiple mappings for this: one local to the platsmp file and another one local to the power management code. However, that is ugly for other reasons. Arnd