cpu: Drop print_ implementation from non-romcc boards

Because we had no stack on romcc boards, we had a separate, not as
powerful clone of printk: print_*. Back in the day, like more than
half a decade ago, we migrated a lot of boards to printk, but we never
cleaned up the existing code to be consistent. instead, we worked around
the problem with a very messy console.h (nowadays the mess is hidden in
romstage_console.c and early_print.h)
This patch cleans up the cpu code to use printk() on all non-ROMCC
boards.

Change-Id: I233c53300f9a74bce4b828fc4074501a77f7b593
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/8114
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Stefan Reinauer
2015-01-05 13:07:39 -08:00
committed by Stefan Reinauer
parent 5ab52ddc3d
commit 5491ca23fc
4 changed files with 12 additions and 18 deletions

View File

@@ -122,7 +122,7 @@ static void set_c7_speed(int model) {
}
break;
default:
print_info("CPU type not known, multiplier unchanged.\n");
printk(BIOS_INFO, "CPU type not known, multiplier unchanged.\n");
}
msr.lo = new;