- 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:
parent
a074949981
commit
91b5ed1073
|
@ -8,6 +8,7 @@ struct mem_range *sizeram(void)
|
||||||
static struct mem_range mem[3];
|
static struct mem_range mem[3];
|
||||||
uint32_t size;
|
uint32_t size;
|
||||||
/* Convert size in bytes to size in K */
|
/* Convert size in bytes to size in K */
|
||||||
|
#warning "FINISH sizeram"
|
||||||
/* FIXME hardcoded for now */
|
/* FIXME hardcoded for now */
|
||||||
size = 512*1024;
|
size = 512*1024;
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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 */
|
Loading…
Reference in New Issue