summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-05-25 06:24:39 +1000
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-25 07:53:28 +0200
commit2f237c1859f29eaac6b10013a635a2d02a97780e (patch)
tree0b505904da94ccbfb95d8e5f23d9734fa2c6f737
parenta916b39e742b6d65e95a8e075de1aa3e9334e2ac (diff)
downloadcoreboot-2f237c1859f29eaac6b10013a635a2d02a97780e.tar.xz
nb/intel/i945/raminit.c: duplicate 'const' declaration specifier
Spotted by Clang Change-Id: I7e91f3edfa773560131e267a7776d8bf1ff7e295 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5843 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/northbridge/intel/i945/raminit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c
index 6943fd9d8e..885b49df71 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -1735,14 +1735,14 @@ static void sdram_set_timing_and_control(struct sys_info *sysinfo)
u32 temp_drt;
int i, page_size;
- static const u8 const drt0_table[] = {
+ static const u8 drt0_table[] = {
/* CL 3, 4, 5 */
3, 4, 5, /* FSB533/400, DDR533/400 */
4, 5, 6, /* FSB667, DDR533/400 */
4, 5, 6, /* FSB667, DDR667 */
};
- static const u8 const cas_table[] = {
+ static const u8 cas_table[] = {
2, 1, 0, 3
};