ARM: OMAP2+: CM: determine CM base address from device tree
There is no need to provide the CM base address through a low-level API from the low-level IO init, as this information is available through DT. Re-routed the parsing function to be called from the CM drivers also to simplify the implementation under io.c. Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
@@ -521,9 +521,15 @@ struct omap_prcm_irq_setup {
|
||||
/**
|
||||
* struct omap_prcm_init_data - PRCM driver init data
|
||||
* @index: clock memory mapping index to be used
|
||||
* @mem: IO mem pointer for this module
|
||||
* @offset: module base address offset from the IO base
|
||||
* @flags: PRCM module init flags
|
||||
*/
|
||||
struct omap_prcm_init_data {
|
||||
int index;
|
||||
void __iomem *mem;
|
||||
s16 offset;
|
||||
u16 flags;
|
||||
};
|
||||
|
||||
extern void omap_prcm_irq_cleanup(void);
|
||||
|
Referens i nytt ärende
Block a user