]> git.dujemihanovic.xyz Git - u-boot.git/commit
fsl: add register read-back to set_law()
authorTimur Tabi <timur@freescale.com>
Fri, 4 Sep 2009 22:05:24 +0000 (17:05 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 8 Sep 2009 14:10:06 +0000 (09:10 -0500)
commit74c5dfd81f94a2a1f0d6990d17c491d718e8b9ea
tree9f6baf00f502561336e9ad55cbe5fda05e9ede6d
parentc7259086816405fe0eb77f4dc22e76980a040cef
fsl: add register read-back to set_law()

After programming a new LAW, we should read-back the LAWAR register so that
we sync the writes.  Otherwise, code that attempts to use the new LAW-mapped
memory might fail right away.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/misc/fsl_law.c