On Friday 07 October 2011 11:46 PM, Tony Lindgren wrote: > * Santosh Shilimkar <santosh.shilimkar@xxxxxx> [111007 10:05]: >> >> I initially tried some thing similar but the issue was GP and >> HS devices. SRAM_PA isn't same on GP and EMU device and hence >> did that dynamically. One way is I can make GP and HS >> device SRAM_PA same for OMAP4 (Will loose 16 KB of >> SRAM on OMAP4 GP). It's ok to loose that 16 KB SRAM >> for OMAP4 with errata enabled. > > Oh yeah, the beginning is different too, I forgot that. > >> Below change works on both GP and HS device >> If you are OK with it, I can update errata patch accordingly. > > OK to me to loose 16KB when the errata is enabled. That can > be fixed later on for example by passing the SRAM area from > device tree. > Yep. > I assume now you can add the mapping to io.c instead? If so, > then it's easier to apply the patches whatever way makes more > sense. > io.c change I took as you suggested. The below change on top of it. I just updated PM branch with this change. Thanks for the tip. The errata code looks bit more clean now. :) Regards Santosh -- 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