[PATCH] ARM: print FPGA info on plat-versatile variants

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Jan 30 14:59:34 EST 2011


On Thu, Jan 27, 2011 at 12:48:10PM +0100, Linus Walleij wrote:
> This adds a small piece of code that displays some basic FPGA
> characteristics for the Integrator, Versatile, RealView and
> Versatile Express reference platforms. Tested on RealView
> variants.

I think it needs a few tweaks for Versatile Express:

arch/arm/plat-versatile/fpga-id.c:14:27: error: mach/platform.h: No such file or directory
arch/arm/plat-versatile/fpga-id.c: In function ■versatile_fpga_probe■:
arch/arm/plat-versatile/fpga-id.c:78: error: implicit declaration of function ■MMIO_P2V■
arch/arm/plat-versatile/fpga-id.c:78: error: ■V2M_SYS_ID■ undeclared (first use in this function)
arch/arm/plat-versatile/fpga-id.c:78: error: (Each undeclared identifier is reported only once
arch/arm/plat-versatile/fpga-id.c:78: error: for each function it appears in.)
arch/arm/plat-versatile/fpga-id.c:78: warning: assignment makes pointer from integer without a cast
arch/arm/plat-versatile/fpga-id.c: At top level:
arch/arm/plat-versatile/fpga-id.c:173: warning: initialization from incompatible pointer type



More information about the linux-arm-kernel mailing list