[PATCH 1/2] ARM: OMAP4: cminst: Add boot time __init function for cminst

2012-02-14 Thread Vaibhav Hiremath
AM33xx CM module is closer to OMAP4 CM module, and in order to reuse cminst api's we have to address some of the differences like, base addresses and partitions. Unlike OMAP4 CM, AM33xx doesn't have any partitions and maintains only single partition. So, in order to reuse the existing OMAP4

Re: [PATCH 1/2] ARM: OMAP4: cminst: Add boot time __init function for cminst

2012-02-14 Thread Peter Korsgaard
Vaibhav == Vaibhav Hiremath hvaib...@ti.com writes: Vaibhav AM33xx CM module is closer to OMAP4 CM module, and Vaibhav in order to reuse cminst api's we have to address Vaibhav some of the differences like, base addresses and partitions. Vaibhav Unlike OMAP4 CM, AM33xx doesn't have any

RE: [PATCH 1/2] ARM: OMAP4: cminst: Add boot time __init function for cminst

2012-02-14 Thread Hiremath, Vaibhav
On Wed, Feb 15, 2012 at 02:41:32, Peter Korsgaard wrote: Vaibhav == Vaibhav Hiremath hvaib...@ti.com writes: Vaibhav AM33xx CM module is closer to OMAP4 CM module, and Vaibhav in order to reuse cminst api's we have to address Vaibhav some of the differences like, base addresses and

Re: [PATCH 1/2] ARM: OMAP4: cminst: Add boot time __init function for cminst

2012-02-14 Thread Peter Korsgaard
Vaibhav == Hiremath, Vaibhav hvaib...@ti.com writes: Hi, Vaibhav - BUG_ON(part = OMAP4_MAX_PRCM_PARTITIONS || Vaibhav + BUG_ON(part = max_cm_partitions || Vaibhav part == OMAP4430_INVALID_PRCM_PARTITION || How about dropping the OMAP4430_ prefix here as it's no longer 4430