summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i82830
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-30 22:12:59 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-30 22:12:59 +0000
commit3ac400e6e57f2efc8db06b9b3206b253d142c741 (patch)
treedb35cd370855cf37995bebc953ba6781d62b222d /src/northbridge/intel/i82830
parentb01fe696d495cfd15f861d270c88547aabf1f6c4 (diff)
downloadcoreboot-3ac400e6e57f2efc8db06b9b3206b253d142c741.tar.xz
drop USE_INIT should be USE_PRINTK_IN_CAR here.
uint32_t should be u32 DEBUG_RAM_SETUP was failing on some northbridges Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5338 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/intel/i82830')
-rw-r--r--src/northbridge/intel/i82830/raminit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/intel/i82830/raminit.c b/src/northbridge/intel/i82830/raminit.c
index 2eea5f0e19..f97eaa893d 100644
--- a/src/northbridge/intel/i82830/raminit.c
+++ b/src/northbridge/intel/i82830/raminit.c
@@ -67,9 +67,9 @@ Macros and definitions.
DIMM-initialization functions.
-----------------------------------------------------------------------------*/
-static void do_ram_command(uint32_t command)
+static void do_ram_command(u32 command)
{
- uint32_t reg32;
+ u32 reg32;
/* Configure the RAM command. */
reg32 = pci_read_config32(NORTHBRIDGE, DRC);
@@ -82,7 +82,7 @@ static void do_ram_command(uint32_t command)
PRINT_DEBUG("\r\n");
}
-static void ram_read32(uint8_t dimm_start, uint32_t offset)
+static void ram_read32(u8 dimm_start, u32 offset)
{
if (offset == 0x55aa55aa) {
PRINT_DEBUG(" Reading RAM at 0x");
@@ -114,7 +114,7 @@ static void ram_read32(uint8_t dimm_start, uint32_t offset)
static void initialize_dimm_rows(void)
{
int i, row;
- uint8_t dimm_start, dimm_end;
+ u8 dimm_start, dimm_end;
unsigned device;
dimm_start = 0;
@@ -487,7 +487,7 @@ static void sdram_set_registers(void)
static void northbridge_set_registers(void)
{
- uint16_t value;
+ u16 value;
int igd_memory = 0;
PRINT_DEBUG("Setting initial nothbridge registers....\r\n");
@@ -542,7 +542,7 @@ static void northbridge_set_registers(void)
static void sdram_initialize(void)
{
int i;
- uint32_t reg32;
+ u32 reg32;
/* Setup Initial SDRAM Registers */
sdram_set_registers();