mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://coreboot.org/repository/coreboot-v3@722 f3766cd6-281f-0410-b1cd-43a5c92072e9
16 lines
258 B
C
16 lines
258 B
C
#ifndef RAMINIT_H
|
|
#define RAMINIT_H
|
|
|
|
#include <device/device.h>
|
|
|
|
#define NODE_NUMS 8
|
|
|
|
#define DIMM_SOCKETS 4
|
|
struct mem_controller {
|
|
unsigned node_id;
|
|
u32 f0, f1, f2, f3;
|
|
u16 channel0[DIMM_SOCKETS];
|
|
u16 channel1[DIMM_SOCKETS];
|
|
};
|
|
|
|
#endif /* RAMINIT_H */
|