Skip to content
Snippets Groups Projects
Commit 3515fd18 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

HMI1001: fix compile problem.


Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent e95bcc36
No related branches found
No related tags found
No related merge requests found
/* /*
* (C) Copyright 2003-2004 * (C) Copyright 2003-2008
* Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
* *
* (C) Copyright 2004 * (C) Copyright 2004
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <common.h> #include <common.h>
#include <mpc5xxx.h> #include <mpc5xxx.h>
#include <pci.h> #include <pci.h>
#include <asm/processor.h>
#include <malloc.h> #include <malloc.h>
#ifndef CFG_RAMBOOT #ifndef CFG_RAMBOOT
...@@ -84,6 +85,7 @@ long int initdram (int board_type) ...@@ -84,6 +85,7 @@ long int initdram (int board_type)
ulong dramsize = 0; ulong dramsize = 0;
#ifndef CFG_RAMBOOT #ifndef CFG_RAMBOOT
ulong test1, test2; ulong test1, test2;
uint svr, pvr;
/* setup SDRAM chip selects */ /* setup SDRAM chip selects */
*(vu_long *)MPC5XXX_SDRAM_CS0CFG = 0x0000001c; /* 512MB at 0x0 */ *(vu_long *)MPC5XXX_SDRAM_CS0CFG = 0x0000001c; /* 512MB at 0x0 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment