]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
SPI: mxc_spi: replace fixed offsets with structures
authorStefano Babic <sbabic@denx.de>
Wed, 19 Jan 2011 22:46:33 +0000 (22:46 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Tue, 1 Feb 2011 23:54:43 +0000 (00:54 +0100)
commitac87c17d344ede52d8d421addf92cbb2e271f73e
treec8dfd730008e75ab907d68e10ce3f4fa0fb506aa
parentafaa9f65c24d815ed4f6133c800884921e051913
SPI: mxc_spi: replace fixed offsets with structures

This patch cleans driver code replacing all accesses
to registers with fixed offsets with a corresponding
structure.

Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx31/mx31-regs.h
arch/arm/include/asm/arch-mx35/imx-regs.h
arch/arm/include/asm/arch-mx5/imx-regs.h
drivers/spi/mxc_spi.c