ARM: OMAP2+: control: new APIs to configure boot address and mode
authorOmar Ramirez Luna <omar.luna@linaro.org>
Mon, 18 Jun 2012 22:18:09 +0000 (16:18 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 18 Jun 2012 22:18:09 +0000 (16:18 -0600)
commit90f1380ef6436a3f5425f942ea0b3f78e1cca142
treefb804c835caf421b765c1c1add1a90fd6e4b7543
parent485802a6c524e62b5924849dd727ddbb1497cc71
ARM: OMAP2+: control: new APIs to configure boot address and mode

SCM contains boot addr and boot mode registers to control
other processors on different OMAP versions. It controls the
boot address and mode for DSP based subsystems like: IVA 2.1
(OMAP2430), IVA 2.2 (OMAP3) and DSP (OMAP4).

If contained within SCM registers, when a processor is
booting it uses BOOTADDR to start running the code at that
location. BOOTMOD register specifies a different set of
modes for the processor to execute when booting (from direct,
idle, self-loop, user and default).

Since there was no offset associated with OMAP4, this patch
defines it.

Signed-off-by: Omar Ramirez Luna <omar.luna@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/control.c
arch/arm/mach-omap2/control.h
arch/arm/mach-omap2/include/mach/ctrl_module_core_44xx.h