]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: PowerTV: Streamline access to platform device registers
authorDavid VomLehn <dvomlehn@cisco.com>
Thu, 24 Dec 2009 01:34:46 +0000 (17:34 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Jan 2010 23:03:31 +0000 (00:03 +0100)
commitad913edfe188abe135bb4fcc22c41bac8b7ba25a
tree25a1e3541ec399110d7a53ac8162e1bbcbd5efc0
parentb262d9abb326f3c18b726f4fe5415b176bedbd89
MIPS: PowerTV: Streamline access to platform device registers

Pre-compute addresses for the basic ASIC registers. This speeds up access
and allows memory for unused configurations to be freed. In addition,
uninitialized register addresses will be returned as NULL to catch bad
usage quickly.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/806/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-powertv/asic_reg_map.h [new file with mode: 0644]
arch/mips/include/asm/mach-powertv/asic_regs.h
arch/mips/powertv/asic/asic-calliope.c
arch/mips/powertv/asic/asic-cronus.c
arch/mips/powertv/asic/asic-zeus.c
arch/mips/powertv/asic/asic_devices.c