PXA: fix MDREFR[APD] bit setting
authorMikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
Thu, 26 Aug 2010 19:24:22 +0000 (23:24 +0400)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 20:47:31 +0000 (22:47 +0200)
commit80124df14f43e08c86892f5344c23cff1e943dbc
tree83e6350138a7221cf7b10eef1fef6c2e0da3bb6d
parent11934fbf520a02e3ddff95607c60e79efad7dab1
PXA: fix MDREFR[APD] bit setting

pxa_mem_setup macro use r6 to store CONFIG_SYS_MDREFR_VAL during memory
initialization. This reg is modified during execution of pxa_wait_ticks.
Later we use r6 to setup MDREFR[APD] bit. As result MDREFR[APD] is always
zero.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
arch/arm/include/asm/arch-pxa/macro.h