/* * This file is part of the coreboot project. * * Copyright (C) 2011 QingPei Wang * * 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include #include #include #include #include #include #include #include #include "SbPlatform.h" #include "chip.h" uint64_t uma_memory_base, uma_memory_size; u8 is_dev3_present(void); void set_pcie_dereset(void); void set_pcie_reset(void); void enable_int_gfx(void); void set_pcie_dereset() { } void set_pcie_reset(void) { } u8 is_dev3_present(void) { return 0; } /************************************************* * enable the dedicated function in M5A99X-EVO board. * This function called early than rs780_enable. *************************************************/ static void m5a99x_evo_enable(device_t dev) { printk(BIOS_INFO, "Mainboard ASUS M5A99X-EVO Enable. dev=0x%p\n", dev); uma_memory_size = 0x8000000; /* 128M recommended UMA */ uma_memory_base = 0x38000000; /* 1GB system memory supposed */ } int add_mainboard_resources(struct lb_memory *mem) { return 0; } struct chip_operations mainboard_ops = { CHIP_NAME("ASUS M5A99X-EVO Mainboard") .enable_dev = m5a99x_evo_enable, };