davinci: soc-specific SRAM setup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 1 May 2009 00:35:48 +0000 (17:35 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 28 May 2009 22:18:12 +0000 (15:18 -0700)
commit0d04eb47054f685b23033ed6ceadfb20db77c5b3
tree3a3de44b01ac71a80f970ddf80f8d1ca28c3e2f6
parentb79dbdefd2be0980c58b5e36fdc23eb14a7caab4
davinci: soc-specific SRAM setup

Package on-chip SRAM.  It's always accessible from the ARM, so
set up a standardized virtual address mapping into a 128 KiB
area that's reserved for platform use.

In some cases (dm6467) the physical addresses used for EDMA are
not the same as the ones used by the ARM ... so record that info
separately in the SOC data, for chips (unlike the OMAP-L137)
where SRAM may be used with EDMA.

Other blocks of SRAM, such as the ETB buffer or DSP L1/L2 RAM,
may be unused/available on some system.  They are ignored here.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/common.h