2006-01-28 00:46:30 +01:00
|
|
|
#ifndef RAMINIT_H
|
|
|
|
#define RAMINIT_H
|
|
|
|
|
2006-02-23 22:39:19 +01:00
|
|
|
#define DIMM_SOCKETS 2
|
|
|
|
|
2006-01-28 00:46:30 +01:00
|
|
|
struct mem_controller {
|
2006-02-23 22:39:19 +01:00
|
|
|
uint16_t channel0[DIMM_SOCKETS];
|
2006-01-28 00:46:30 +01:00
|
|
|
};
|
|
|
|
|
2010-07-27 01:46:25 +02:00
|
|
|
void sdram_initialize(int controllers, const struct mem_controller *ctrl);
|
|
|
|
|
2006-01-28 00:46:30 +01:00
|
|
|
#endif /* RAMINIT_H */
|