[PATCH] mtd: only use __xipram annotation when XIP_KERNEL is set
From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2016-03-05 08:45:34
Also in:
linux-arch, lkml
From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2016-03-05 08:45:34
Also in:
linux-arch, lkml
Arnd Bergmann [off-list ref] writes:
I guess we can bring back the macros for the case that MTD_XIP and XIP_KERNEL are both enabled. Arnd
I wouldn't have ICMR and ICIP exposed to drivers, Eric's original move looks corect to me. On the other hand, I'm wondering if xip_irqpending(), xip_currtime() and xip_cpu_idle() should be declared as functions in mtd-xip.h, and be part of something like arch/arm/mach-pxa/xip.c ... Cheers. -- Robert