summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8360emds/mpc8360emds.c
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2008-10-29 11:05:55 -0400
committerScott Wood <scottwood@freescale.com>2008-10-29 11:12:53 -0500
commit4e190b03aaf2309bd2e025d1187a2ca880fedc95 (patch)
tree57afb19280a15c5918a66c36482686c2095e6615 /board/freescale/mpc8360emds/mpc8360emds.c
parent695c130e4bf75b444720ddfd83aca88f41c046cf (diff)
downloadu-boot-imx-4e190b03aaf2309bd2e025d1187a2ca880fedc95.zip
u-boot-imx-4e190b03aaf2309bd2e025d1187a2ca880fedc95.tar.gz
u-boot-imx-4e190b03aaf2309bd2e025d1187a2ca880fedc95.tar.bz2
Make Freescale local bus registers available for both 83xx and 85xx.
- Rename lbus83xx_t to fsl_lbus_t and move it to asm/fsl_lbc.h so that it can be shared by both 83xx and 85xx - Remove lbus83xx_t and replace it with fsl_lbus_t in all 83xx boards files which use lbus83xx_t. - Move FMR, FIR, FCR, FPAR, LTESR from mpc83xx.h to asm/fsl_lbc.h so that 85xx can share them. Signed-off-by: Jason Jin <Jason.Jin@freescale.com> Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'board/freescale/mpc8360emds/mpc8360emds.c')
-rw-r--r--board/freescale/mpc8360emds/mpc8360emds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8360emds/mpc8360emds.c b/board/freescale/mpc8360emds/mpc8360emds.c
index b5cf714..85c0120 100644
--- a/board/freescale/mpc8360emds/mpc8360emds.c
+++ b/board/freescale/mpc8360emds/mpc8360emds.c
@@ -227,7 +227,7 @@ int checkboard(void)
static int sdram_init(unsigned int base)
{
volatile immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
- volatile lbus83xx_t *lbc = &immap->lbus;
+ volatile fsl_lbus_t *lbc = &immap->lbus;
const int sdram_size = CONFIG_SYS_LBC_SDRAM_SIZE * 1024 * 1024;
int rem = base % sdram_size;
uint *sdram_addr;