- Commit a working spd based memory initialization routine

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@946 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman 2003-07-12 01:35:24 +00:00
parent a074949981
commit 91b5ed1073
3 changed files with 1263 additions and 436 deletions

View File

@ -8,6 +8,7 @@ struct mem_range *sizeram(void)
static struct mem_range mem[3];
uint32_t size;
/* Convert size in bytes to size in K */
#warning "FINISH sizeram"
/* FIXME hardcoded for now */
size = 512*1024;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
#ifndef RAMINIT_H
#define RAMINIT_H
struct mem_controller {
device_t f0, f1, f2, f3;
uint8_t channel0[4];
uint8_t channel1[4];
};
#endif /* RAMINIT_H */