nand_spl: change out_be32 to raw_writel and depend on subsequent sync
authorMatthew McClintock <msm@freescale.com>
Mon, 13 Aug 2012 08:10:42 +0000 (08:10 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 15:24:17 +0000 (10:24 -0500)
commitae6beb24d7589f1b8b7aa3519afb3c7cdf8e66e5
tree52381b535873eb38846efb0f11f6315b9018705f
parent02ea538ce9fa8325f7d15c69cf87c950c5fe1f57
nand_spl: change out_be32 to raw_writel and depend on subsequent sync

This change reduces the SPL size by removing the redundant syncs produced
by out_be32 and just replies on one final sync

Done with:

sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' -i `git grep --name-only sdram_init nand_spl/`

Signed-off-by: Matthew McClintock <msm@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
nand_spl/board/freescale/p1010rdb/nand_boot.c
nand_spl/board/freescale/p1023rds/nand_boot.c
nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c