Unify crt0s setup to src/arch/i386/Makefile.inc. This variable
[coreboot.git] / src / northbridge / intel / i855pm / raminit.c
index 07dac67a730c4334f3bfe90590c37c236755df0b..8e97c10bd0808f0181a36954b7d30164f27ae142 100644 (file)
@@ -384,7 +384,7 @@ static void ram_set_d0f0_regs(const struct mem_controller *ctrl) {
 #endif
        int i;
        int max;
-        max = sizeof(register_values)/sizeof(register_values[0]);
+        max = ARRAY_SIZE(register_values);
         for(i = 0; i < max; i += 3) {
                 uint32_t reg;
 #if DEBUG_RAM_CONFIG >=2
@@ -1358,7 +1358,7 @@ static void sdram_set_spd_registers(const struct mem_controller *ctrl) {
 }
 
 
-       /* I have finally seen ram bad enough to cause LinuxBIOS
+       /* I have finally seen ram bad enough to cause coreboot
         * to die in mysterious ways, before booting up far
         * enough to run a memory tester.  This code attempts
         * to catch this blatantly bad ram, with a spot check.