Remove all AMD K8 boards
Platforms with LATE_CBMEM_INIT were agreed to be removed with 4.7 release late 2017. Change-Id: I0ecbb40f8c7ebdf68217f50af5624905d9005c64 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26671 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
@@ -829,9 +829,6 @@ static void setup_uma_memory(void)
|
||||
#if IS_ENABLED(CONFIG_GFXUMA)
|
||||
uint32_t topmem = (uint32_t) bsp_topmem();
|
||||
|
||||
#if !IS_ENABLED(CONFIG_BOARD_ASROCK_939A785GMH) && \
|
||||
!IS_ENABLED(CONFIG_BOARD_AMD_MAHOGANY)
|
||||
|
||||
switch (topmem) {
|
||||
case 0x10000000: /* 256M system memory */
|
||||
uma_memory_size = 0x2000000; /* 32M recommended UMA */
|
||||
@@ -849,22 +846,6 @@ static void setup_uma_memory(void)
|
||||
uma_memory_size = 0x8000000; /* 128M recommended UMA */
|
||||
break;
|
||||
}
|
||||
#else
|
||||
/* refer to UMA Size Consideration in 780 BDG. */
|
||||
switch (topmem) {
|
||||
case 0x10000000: /* 256M system memory */
|
||||
uma_memory_size = 0x4000000; /* 64M recommended UMA */
|
||||
break;
|
||||
|
||||
case 0x20000000: /* 512M system memory */
|
||||
uma_memory_size = 0x8000000; /* 128M recommended UMA */
|
||||
break;
|
||||
|
||||
default: /* 1GB and above system memory */
|
||||
uma_memory_size = 0x10000000; /* 256M recommended UMA */
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
uma_memory_base = topmem - uma_memory_size; /* TOP_MEM1 */
|
||||
printk(BIOS_INFO, "%s: uma size 0x%08llx, memory start 0x%08llx\n",
|
||||
|
@@ -2348,7 +2348,7 @@ static void set_ecc(const struct mem_controller *ctrl,
|
||||
dcl &= ~DCL_DimmEccEn;
|
||||
}
|
||||
#else // CMOS_VSTART_ECC_memory not defined
|
||||
#if !IS_ENABLED(CONFIG_ECC_MEMORY)
|
||||
#if 1 // was !IS_ENABLED CONFIG_ECC_MEMORY
|
||||
dcl &= ~DCL_DimmEccEn;
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user