kirkwood: use c-struct for access to SDRAM addr decode registers
authorHolger Brunck <holger.brunck@keymile.com>
Fri, 20 Jul 2012 02:34:24 +0000 (02:34 +0000)
committerPrafulla Wadaskar <prafulla@marvell.com>
Wed, 3 Oct 2012 11:13:13 +0000 (16:43 +0530)
commitcf37c5d98bb2e23fbcbca8a0328ca7dd43d6af8c
treed76a0d04841d2943e867d05b5115c42b1dbbbb35
parent9b914727ce5c9016ad93d4bcdaef48be761a4cef
kirkwood: use c-struct for access to SDRAM addr decode registers

Remove the defines and do this with a C-struct.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Gerlando Falauto <gerlando.falauto@keymile.com>
cc: Marek Vasut <marex@denx.de>
Acked-By: Prafulla Wadaskar <Prafulla@marvell.com>
arch/arm/cpu/arm926ejs/kirkwood/dram.c