northbridge/amd/gx2/raminit.c Halt func needs noreturn attrib

Missing "__attribute__((noreturn))" on halt function. This sync's the
implementation to be the same as that of amd/lx thereby avoiding
compiler warnings.

Change-Id: Iead16125805eb36ff875fba767cf8d4e5aa86715
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6157
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Edward O'Callaghan 2014-06-29 02:27:19 +10:00
parent ec79d7a66e
commit d2a7523cb1
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ static const unsigned char NumColAddr[] = {
0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
}; };
static void hcf(void) static void __attribute__((noreturn)) hcf(void)
{ {
printk(BIOS_EMERG, "DIE\n"); printk(BIOS_EMERG, "DIE\n");
/* this guarantees we flush the UART fifos (if any) and also /* this guarantees we flush the UART fifos (if any) and also