]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:16 +0000 (09:04 -0500)
commit16d4813717666dabd04115e70714928bdad0456a
tree7dce88875eeb23def50a94b43d5999c4d22d6c1f
parenteb0a2cc9e3486e0ca9d557abe5faa50f161331f2
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