]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
zynq: move static peripheral mappings
authorJosh Cartwright <josh.cartwright@ni.com>
Mon, 22 Oct 2012 02:15:37 +0000 (21:15 -0500)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 29 Oct 2012 07:54:56 +0000 (08:54 +0100)
commitf58007762f537ba13674a3138b3f4c20fff1cba9
treea88498fd3c86be7ca74ce90d9a0bf6f8e7febeab
parentf7977939e956bdf6558ae6f4b743653db9f5c291
zynq: move static peripheral mappings

Shifting them up into the vmalloc region prevents the following warning,
when booting a zynq qemu target with more than 512mb of RAM:

  BUG: mapping for 0xe0000000 at 0xe0000000 out of vmalloc space

In addition, it allows for reuse of these mappings when the proper
drivers issue requests via ioremap().

There are currently unknown issues with the early uart mapping.  For
now, the uart will be mapped to a known working address.

Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>
Cc: John Linn <john.linn@xilinx.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/common.c
arch/arm/mach-zynq/include/mach/zynq_soc.h