]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc/8xxx: Fix LAW init to respect pre-initialized entries
authorKumar Gala <galak@kernel.crashing.org>
Thu, 3 Feb 2011 15:02:13 +0000 (09:02 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:41 +0000 (09:24 -0500)
commit7639675131673e8f1582d760203a9af34fba9e79
tree1f3ce78f0a6e0619804b5b15ee3e5a425750caaf
parentb6ccd2c9dee758a70e761403a41e60c31a1cfcec
powerpc/8xxx: Fix LAW init to respect pre-initialized entries

If some pre-boot or earlier stage bootloader (NAND SPL) has setup LAW
entries consider them good and mark them used.

In the NAND SPL case we skip re-initializing based on the law_table
since the SPL phase already did that.

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