diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/intel/i440bx/raminit.c | 8 | ||||
-rw-r--r-- | src/northbridge/intel/i440bx/raminit.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/northbridge/intel/i440bx/raminit.c b/src/northbridge/intel/i440bx/raminit.c index 67d8d3f334..565719ded3 100644 --- a/src/northbridge/intel/i440bx/raminit.c +++ b/src/northbridge/intel/i440bx/raminit.c @@ -979,3 +979,11 @@ void sdram_enable(void) PRINT_DEBUG("Northbridge following SDRAM init:\n"); DUMPNORTH(); } + +void sdram_initialize(void) +{ + dump_spd_registers(); + sdram_set_registers(); + sdram_set_spd_registers(); + sdram_enable(); +}
\ No newline at end of file diff --git a/src/northbridge/intel/i440bx/raminit.h b/src/northbridge/intel/i440bx/raminit.h index 609b591f6e..e20d559fa4 100644 --- a/src/northbridge/intel/i440bx/raminit.h +++ b/src/northbridge/intel/i440bx/raminit.h @@ -25,6 +25,9 @@ int spd_read_byte(unsigned int device, unsigned int address); void sdram_set_registers(void); void sdram_set_spd_registers(void); void sdram_enable(void); +/* A merger of above functions */ +void sdram_initialize(void); + /* Debug */ #if IS_ENABLED(CONFIG_DEBUG_RAM_SETUP) void dump_spd_registers(void); |