Advertisement
Guest User

Untitled

a guest
Mar 1st, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. diff --git a/src/cpu/amd/agesa/family15tn/model_15_init.c b/src/cpu/amd/agesa/family15tn/model_15_init.c
  2. index f396201..1dbc064 100644
  3. --- a/src/cpu/amd/agesa/family15tn/model_15_init.c
  4. +++ b/src/cpu/amd/agesa/family15tn/model_15_init.c
  5. @@ -123,6 +123,7 @@ static struct device_operations cpu_dev_ops = {
  6.  
  7. static struct cpu_device_id cpu_table[] = {
  8. { X86_VENDOR_AMD, 0x610f00 }, /* TN-A0 */
  9. + { X86_VENDOR_AMD, 0x610f31 }, /* RL-A1 (HACK) */
  10. { 0, 0 },
  11. };
  12.  
  13. diff --git a/src/mainboard/asus/f2a85-m/OptionsIds.h b/src/mainboard/asus/f2a85-m/OptionsIds.h
  14. index bf7eedc..14d23f0 100644
  15. --- a/src/mainboard/asus/f2a85-m/OptionsIds.h
  16. +++ b/src/mainboard/asus/f2a85-m/OptionsIds.h
  17. @@ -50,7 +50,7 @@
  18. *
  19. **/
  20.  
  21. -//#define IDSOPT_IDS_ENABLED TRUE
  22. +#define IDSOPT_IDS_ENABLED TRUE
  23. //#define IDSOPT_CONTROL_ENABLED TRUE
  24. #define IDSOPT_TRACING_ENABLED TRUE
  25. #define IDSOPT_TRACING_CONSOLE_SERIALPORT TRUE
  26. diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c
  27. index 8157b57..9f01760 100644
  28. --- a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c
  29. +++ b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c
  30. @@ -86,6 +86,10 @@ STATIC CONST CPU_LOGICAL_ID_XLAT ROMDATA CpuF15TnLogicalIdAndRevArray[] =
  31. 0x6101,
  32. AMD_F15_TN_A1
  33. },
  34. + { // HACK: let Richland run Trinity agesa code
  35. + 0x6131,
  36. + AMD_F15_TN_A1
  37. + },
  38. {
  39. 0x6100,
  40. 0x0000000000000100ull
  41. diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuFamilyTranslation.c b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuFamilyTranslation.c
  42. index 17f6923..5d6bd0e 100644
  43. --- a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuFamilyTranslation.c
  44. +++ b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuFamilyTranslation.c
  45. @@ -252,7 +252,7 @@ GetLogicalIdFromCpuid (
  46. SubFamilyIdPtr[j] ((CONST CPU_LOGICAL_ID_XLAT **)&CpuLogicalIdAndRevPtr, &LogicalIdEntries, &LogicalFamily, StdHeader);
  47. ASSERT (CpuLogicalIdAndRevPtr != NULL);
  48. for (k = 0; k < LogicalIdEntries; k++) {
  49. - if (CpuLogicalIdAndRevPtr[k].RawId == CpuModelAndExtendedModel) {
  50. + if (CpuLogicalIdAndRevPtr[k].RawId != CpuModelAndExtendedModel) {
  51. IdNotFound = FALSE;
  52. LogicalId->Family = LogicalFamily;
  53. LogicalId->Revision = CpuLogicalIdAndRevPtr[k].LogicalId;
  54. diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
  55. index 14ca1ec..da3b36b 100644
  56. --- a/util/crossgcc/Makefile
  57. +++ b/util/crossgcc/Makefile
  58. @@ -1,17 +1,12 @@
  59. -all: build-i386 build-armv7a
  60. +all: build
  61.  
  62. -build-i386:
  63. +build:
  64. bash ./buildgcc -G -p i386-elf
  65. -
  66. -build-armv7a:
  67. bash ./buildgcc -G -p armv7a-eabi
  68.  
  69. -.PHONY: build-i386-without-gdb
  70. -build-i386-without-gdb:
  71. +.PHONY: build-without-gdb
  72. +build-without-gdb:
  73. bash ./buildgcc -p i386-elf
  74. -
  75. -.PHONY: build-armv7a-without-gdb
  76. -build-armv7a-without-gdb:
  77. bash ./buildgcc -p armv7a-eabi
  78.  
  79. clean:
  80. diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
  81. index c6d7183..87054f2 100755
  82. --- a/util/crossgcc/buildgcc
  83. +++ b/util/crossgcc/buildgcc
  84. @@ -20,8 +20,8 @@
  85. # Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
  86. #
  87.  
  88. -CROSSGCC_DATE="February 10th, 2014"
  89. -CROSSGCC_VERSION="1.24"
  90. +CROSSGCC_DATE="September 20th, 2013"
  91. +CROSSGCC_VERSION="1.23"
  92.  
  93. # default settings
  94. TARGETDIR=`pwd`/xgcc
  95. @@ -37,7 +37,7 @@ GCC_VERSION=4.7.3
  96. GCC_AUTOCONF_VERSION=2.69
  97. BINUTILS_VERSION=2.23.2
  98. GDB_VERSION=7.6
  99. -IASL_VERSION=20140114
  100. +IASL_VERSION=20130626
  101. PYTHON_VERSION=3.3.2
  102. EXPAT_VERSION=2.1.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement