From 998ef7e66534a1e50df025cc5f57428649326352 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 6 Apr 2012 14:27:31 +0200 Subject: [PATCH] m5a99x-evo: replace name --- src/mainboard/asus/Kconfig | 3 +++ src/mainboard/asus/m5a99x-evo/Kconfig | 8 ++++---- src/mainboard/asus/m5a99x-evo/dsdt.asl | 2 +- src/mainboard/asus/m5a99x-evo/mainboard.c | 10 +++++----- src/mainboard/asus/m5a99x-evo/platform_cfg.h | 4 ++-- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/mainboard/asus/Kconfig b/src/mainboard/asus/Kconfig index f7a30174a..826cf5a13 100644 --- a/src/mainboard/asus/Kconfig +++ b/src/mainboard/asus/Kconfig @@ -43,6 +43,8 @@ config BOARD_ASUS_M4A78_EM bool "M4A78-EM" config BOARD_ASUS_M5A88_V bool "M5A88-V" +config BOARD_ASUS_M5A99X_EVO + bool "M5A99X-EVO" config BOARD_ASUS_MEW_AM bool "MEW-AM" config BOARD_ASUS_MEW_VM @@ -73,6 +75,7 @@ source "src/mainboard/asus/m4a785-m/Kconfig" source "src/mainboard/asus/m4a785t-m/Kconfig" source "src/mainboard/asus/m4a78-em/Kconfig" source "src/mainboard/asus/m5a88-v/Kconfig" +source "src/mainboard/asus/m5a99x-evo/Kconfig" source "src/mainboard/asus/mew-am/Kconfig" source "src/mainboard/asus/mew-vm/Kconfig" source "src/mainboard/asus/p2b/Kconfig" diff --git a/src/mainboard/asus/m5a99x-evo/Kconfig b/src/mainboard/asus/m5a99x-evo/Kconfig index 9cadcde05..d3df2b79f 100644 --- a/src/mainboard/asus/m5a99x-evo/Kconfig +++ b/src/mainboard/asus/m5a99x-evo/Kconfig @@ -1,4 +1,4 @@ -if BOARD_ASUS_M5A88_V +if BOARD_ASUS_M5A99X_EVO config BOARD_SPECIFIC_OPTIONS # dummy def_bool y @@ -33,7 +33,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy config MAINBOARD_DIR string - default asus/m5a88-v + default asus/m5a99x-evo config APIC_ID_OFFSET hex @@ -41,7 +41,7 @@ config APIC_ID_OFFSET config MAINBOARD_PART_NUMBER string - default "M5A88PM-V" + default "M5A99X-EVO" # dunno :-/ config HW_MEM_HOLE_SIZEK hex @@ -99,4 +99,4 @@ config VGA_BIOS_ID string default "1002,9715" -endif #BOARD_ASUS_M5A88_V +endif #BOARD_ASUS_M5A99X_EVO diff --git a/src/mainboard/asus/m5a99x-evo/dsdt.asl b/src/mainboard/asus/m5a99x-evo/dsdt.asl index b9a699b04..88354cf93 100644 --- a/src/mainboard/asus/m5a99x-evo/dsdt.asl +++ b/src/mainboard/asus/m5a99x-evo/dsdt.asl @@ -23,7 +23,7 @@ DefinitionBlock ( "DSDT", /* Signature */ 0x02, /* DSDT Revision, needs to be 2 for 64bit */ "ASUS ", /* OEMID */ - "M5A88 ", /* TABLE ID */ + "M5A99 ", /* TABLE ID */ 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ diff --git a/src/mainboard/asus/m5a99x-evo/mainboard.c b/src/mainboard/asus/m5a99x-evo/mainboard.c index 7fa4ee740..d6c3a5b61 100644 --- a/src/mainboard/asus/m5a99x-evo/mainboard.c +++ b/src/mainboard/asus/m5a99x-evo/mainboard.c @@ -73,13 +73,13 @@ u8 is_dev3_present(void) /************************************************* -* enable the dedicated function in M5A88-V board. +* enable the dedicated function in M5A99X-EVO board. * This function called early than rs780_enable. *************************************************/ -static void m5a88pm_v_enable(device_t dev) +static void m5a99x_evo_enable(device_t dev) { - printk(BIOS_INFO, "Mainboard ASUS M5A88-V Enable. dev=0x%p\n", dev); + printk(BIOS_INFO, "Mainboard ASUS M5A99X-EVO Enable. dev=0x%p\n", dev); #if (CONFIG_GFXUMA == 1) msr_t msr, msr2; @@ -140,6 +140,6 @@ int add_mainboard_resources(struct lb_memory *mem) } struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS M5A88-V Mainboard") - .enable_dev = m5a88pm_v_enable, + CHIP_NAME("ASUS M5A99X-EVO Mainboard") + .enable_dev = m5a99x_evo_enable, }; diff --git a/src/mainboard/asus/m5a99x-evo/platform_cfg.h b/src/mainboard/asus/m5a99x-evo/platform_cfg.h index 43573f19a..003fdb0b3 100644 --- a/src/mainboard/asus/m5a99x-evo/platform_cfg.h +++ b/src/mainboard/asus/m5a99x-evo/platform_cfg.h @@ -18,8 +18,8 @@ */ -#ifndef _M5A88_V_CFG_H_ -#define _M5A88_V_CFG_H_ +#ifndef _M5A99X_EVO_CFG_H_ +#define _M5A99X_EVO_CFG_H_ /** * @def BIOS_SIZE_1M -- 2.25.1