]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
83xx/85xx/86xx: LBC register cleanup
authorBecky Bruce <beckyb@kernel.crashing.org>
Thu, 17 Jun 2010 16:37:20 +0000 (11:37 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 16 Jul 2010 15:55:09 +0000 (10:55 -0500)
commitf51cdaf19141151ce2b40d562a468605340f2315
tree60b51af79796f061d119f2839d101f9584964dfc
parent0914f4832887341ee073d2d2bfbada69a6872548
83xx/85xx/86xx: LBC register cleanup

Currently, 83xx, 86xx, and 85xx have a lot of duplicated code
dedicated to defining and manipulating the LBC registers.  Merge
this into a single spot.

To do this, we have to decide on a common name for the data structure
that holds the lbc registers - it will now be known as fsl_lbc_t, and we
adopt a common name for the immap layouts that include the lbc - this was
previously known as either im_lbc or lbus; use the former.

In addition, create accessors for the BR/OR regs that use in/out_be32
and use those instead of the mismash of access methods currently in play.

I have done a successful ppc build all and tested a board or two from
each processor family.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
52 files changed:
arch/powerpc/cpu/mpc83xx/cpu.c
arch/powerpc/cpu/mpc83xx/cpu_init.c
arch/powerpc/cpu/mpc83xx/nand_init.c
arch/powerpc/cpu/mpc83xx/speed.c
arch/powerpc/cpu/mpc85xx/cpu.c
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/cpu_init_nand.c
arch/powerpc/cpu/mpc85xx/speed.c
arch/powerpc/cpu/mpc86xx/cpu.c
arch/powerpc/cpu/mpc86xx/cpu_init.c
arch/powerpc/cpu/mpc86xx/speed.c
arch/powerpc/cpu/mpc8xxx/Makefile
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c [new file with mode: 0644]
arch/powerpc/include/asm/config.h
arch/powerpc/include/asm/fsl_lbc.h
arch/powerpc/include/asm/immap_83xx.h
arch/powerpc/include/asm/immap_85xx.h
arch/powerpc/include/asm/immap_86xx.h
board/atum8548/atum8548.c
board/esd/vme8349/vme8349.c
board/freescale/mpc8313erdb/sdram.c
board/freescale/mpc8349emds/mpc8349emds.c
board/freescale/mpc8349itx/mpc8349itx.c
board/freescale/mpc8360emds/mpc8360emds.c
board/freescale/mpc8360erdk/nand.c
board/freescale/mpc8540ads/mpc8540ads.c
board/freescale/mpc8541cds/mpc8541cds.c
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8555cds/mpc8555cds.c
board/freescale/mpc8560ads/mpc8560ads.c
board/freescale/mpc8568mds/mpc8568mds.c
board/freescale/mpc8569mds/mpc8569mds.c
board/mpc8540eval/mpc8540eval.c
board/pm854/pm854.c
board/pm856/pm856.c
board/sbc8349/sbc8349.c
board/sbc8548/sbc8548.c
board/sbc8560/sbc8560.c
board/sheldon/simpc8313/sdram.c
board/sheldon/simpc8313/simpc8313.c
board/socrates/socrates.c
board/tqc/tqm834x/tqm834x.c
board/tqc/tqm85xx/nand.c
board/tqc/tqm85xx/tqm85xx.c
board/xes/xpedite5170/xpedite5170.c
board/xes/xpedite5200/xpedite5200.c
board/xes/xpedite5370/xpedite5370.c
drivers/mtd/nand/fsl_elbc_nand.c
include/mpc85xx.h
nand_spl/board/freescale/mpc8536ds/nand_boot.c
nand_spl/nand_boot_fsl_elbc.c