diff options
author | Paul Walmsley <paul@pwsan.com> | 2015-03-26 08:53:57 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-04-02 10:03:55 +0100 |
commit | 049e4b3f801778569c619324a36b4518d955dba4 (patch) | |
tree | 1bffbaf6332485a20410feba86eb7e7d5d3cfc36 /drivers/memory | |
parent | 7c07005eea967db09163491d39bd0c1cda485c21 (diff) | |
download | blackbird-obmc-linux-049e4b3f801778569c619324a36b4518d955dba4.tar.gz blackbird-obmc-linux-049e4b3f801778569c619324a36b4518d955dba4.zip |
ARM: 8333/1: amba: tegra-ahb: fix register offsets in the macros
amba: tegra-ahb: fix register offsets in the macros
From a hardware SoC integration point of view, the offsets of the
Tegra AHB registers that are currently defined in tegra-ahb.c macros
are all off by four bytes. Similarly, the starting address of this IP
block in our existing DT files is also off by four bytes. Since we
attempt to make old DT files forward-compatible with newer kernels, we
cannot fix the IP block base address in old DT data. However, we can
fix the offsets in the driver so that they are correct with respect to
the hardware, which is what this patch does. And a subsequent patch
will allow the offset to be removed for DT 'compatible' strings used
in future DT files for newer Tegra chips that the kernel does not yet
support.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Paul Walmsley <pwalmsley@nvidia.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Hiroshi DOYU <hdoyu@nvidia.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-kernel@vger.kernel.org
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions