diff options
author | Patrick Georgi <pgeorgi@google.com> | 2014-11-01 10:34:23 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-11-03 07:32:15 +0100 |
commit | f545d71ca26fa2f9985ff143401b393032d1b774 (patch) | |
tree | 898c542d1616e2e03f66e55a544d59d5c9777070 /src/mainboard/amd/torpedo/gpio.h | |
parent | ee6f9813e1d8df5b24bb7ef8182efe54e1740597 (diff) | |
download | coreboot-f545d71ca26fa2f9985ff143401b393032d1b774.tar.xz |
AMD boards: constify romstage variables
That takes them out of .data
Change-Id: Idf88ddaacb2f78ba6a0260e3511b34edc269731d
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/7313
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Diffstat (limited to 'src/mainboard/amd/torpedo/gpio.h')
-rw-r--r-- | src/mainboard/amd/torpedo/gpio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/torpedo/gpio.h b/src/mainboard/amd/torpedo/gpio.h index f8516a237b..f8281f8a34 100644 --- a/src/mainboard/amd/torpedo/gpio.h +++ b/src/mainboard/amd/torpedo/gpio.h @@ -1995,7 +1995,7 @@ typedef struct _GPIO_SETTINGS u8 NonGpioGevent; } GPIO_SETTINGS; -GPIO_SETTINGS gpio_table[]= +const GPIO_SETTINGS gpio_table[]= { {GPIO_00_SELECT, GPIO_00_TYPE, GPO_00_LEVEL+GPIO_00_STICKY+GPIO_00_PULLUP+GPIO_00_PULLDOWN, GPIO_00_SELECT}, {GPIO_01_SELECT, GPIO_01_TYPE, GPO_01_LEVEL+GPIO_01_STICKY+GPIO_01_PULLUP+GPIO_01_PULLDOWN, GPIO_01_SELECT}, @@ -2269,7 +2269,7 @@ typedef struct _GEVENT_SETTINGS u8 SmiControl; // 0: Disable, 1: SMI 2: NMI 3: IRQ13 } GEVENT_SETTINGS; -GEVENT_SETTINGS gevent_table[] = +const GEVENT_SETTINGS gevent_table[] = { {GEVENT_00_EVENTENABLE, GEVENT_00_SCITRIG, GEVENT_00_SCILEVEL, GEVENT_00_SMISCIEN, GEVENT_00_SCIS0EN, GEVENT_00_SCIMAP, GEVENT_00_SMITRIG, GEVENT_00_SMICONTROL}, {GEVENT_01_EVENTENABLE, GEVENT_01_SCITRIG, GEVENT_01_SCILEVEL, GEVENT_01_SMISCIEN, GEVENT_01_SCIS0EN, GEVENT_01_SCIMAP, GEVENT_01_SMITRIG, GEVENT_01_SMICONTROL}, |