On Wed, 19 Dec 2007 14:30:58 -0700 (MST), Paul Walmsley <paul@xxxxxxxxxxx> wrote: > On Wed, 19 Dec 2007, Francisco Alecrim wrote: > >> By the way, I does not work because asm/arch/control.h does not contain >> ctrl_read_reg. it is defined on "../mach-omap2/control.h" and this > headers is >> not included with OMAP1. >> >> arch/arm/plat-omap/sram.c: In function `is_sram_locked': >> arch/arm/plat-omap/sram.c:96: error: implicit declaration of function >> `ctrl_read_reg' > > Eh, indeed, OMAP1 has no SCM. The problem lies in legacy boards backward compatibility. Paul, what do you think about either keeping that ifdef or modifying control.h in order to allow some defines and/or functions to be accessed by OMAP1 ?? -- Best Regards, Felipe Balbi http://felipebalbi.com me@xxxxxxxxxxxxxxx - To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html