diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-24 02:02:42 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-31 03:45:19 +0000 |
commit | f99fa1058dc89fb4fc0c23f0217a0257fffdf9f9 (patch) | |
tree | 51b22089587d0a680507b7c976cfb382f36ec6e7 /src/northbridge/via/vx800/raminit.c | |
parent | e99f0390b9b8e04b197b165e6e63826ce9631d35 (diff) |
Remove VIA VX800 northbridge support
Change-Id: Id6026e9d7ff064d54b0dd93e80dabdcc4efd2b8e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26679
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/via/vx800/raminit.c')
-rw-r--r-- | src/northbridge/via/vx800/raminit.c | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/src/northbridge/via/vx800/raminit.c b/src/northbridge/via/vx800/raminit.c deleted file mode 100644 index f97e2f51bb..0000000000 --- a/src/northbridge/via/vx800/raminit.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2009 One Laptop per Child, Association, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#include <spd.h> -#include <delay.h> - -#ifdef __clang__ -/* Silence clang warnings via pragmas to avoid the problems in this file - blocking analyzes for the rest of the tree. */ -#pragma clang diagnostic ignored "-Wsometimes-uninitialized" -#pragma clang diagnostic ignored "-Wconstant-logical-operand" -#pragma clang diagnostic ignored "-Warray-bounds" -#endif - -#if IS_ENABLED(CONFIG_DEBUG_RAM_SETUP) -#define PRINT_DEBUG_MEM(x) printk(BIOS_DEBUG, x) -#define PRINT_DEBUG_MEM_HEX8(x) printk(BIOS_DEBUG, "%02x", x) -#define PRINT_DEBUG_MEM_HEX16(x) printk(BIOS_DEBUG, "%04x", x) -#define PRINT_DEBUG_MEM_HEX32(x) printk(BIOS_DEBUG, "%08x", x) -#define DUMPNORTH() dump_pci_device(PCI_DEV(0, 0, 0)) -#else -#define PRINT_DEBUG_MEM(x) -#define PRINT_DEBUG_MEM_HEX8(x) -#define PRINT_DEBUG_MEM_HEX16(x) -#define PRINT_DEBUG_MEM_HEX32(x) -#define DUMPNORTH() -#endif -#include "northbridge/via/vx800/translator_ddr2_init.c" -#include "northbridge/via/vx800/dram_init.h" -#include "northbridge/via/vx800/early_smbus.c" -#include "northbridge/via/vx800/early_serial.c" -#include "northbridge/via/vx800/dram_util.h" -#include "northbridge/via/vx800/dram_util.c" -#include "northbridge/via/vx800/detection.c" -#include "northbridge/via/vx800/freq_setting.c" -#include "northbridge/via/vx800/timing_setting.c" -#include "northbridge/via/vx800/drdy_bl.c" -#include "northbridge/via/vx800/driving_setting.c" -#include "northbridge/via/vx800/clk_ctrl.c" -#include "northbridge/via/vx800/dev_init.c" -#include "northbridge/via/vx800/rank_map.c" -#include "northbridge/via/vx800/dqs_search.c" -#include "northbridge/via/vx800/final_setting.c" -#include "northbridge/via/vx800/uma_ram_setting.c" -#include "northbridge/via/vx800/dram_init.c" -/* - * Support one dimm with up to 2 ranks - */ - -static void ddr2_ram_setup(void) -{ - CB_STATUS Status; - PRINT_DEBUG_MEM("In ddr2_ram_setup\r"); - - Status = DDR2_DRAM_INIT(); - if (CB_SUCCESS != Status) { - PRINT_DEBUG_MEM("Dram init error. Status = %x\r"); - } - -} |