- 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:
@@ -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
11
src/northbridge/amd/amdk8/raminit.h
Normal file
11
src/northbridge/amd/amdk8/raminit.h
Normal 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 */
|
Reference in New Issue
Block a user