build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/23437 )
Change subject: amd/stoneyridge: Move TValid and SmmLock to end of POST
......................................................................
Patch Set 3: Verified+1
Build Successful
https://qa.coreboot.org/job/coreboot-gerrit/66844/ : SUCCESS
https://qa.coreboot.org/job/coreboot-checkpatch/21439/ : SUCCESS
--
To view, visit https://review.coreboot.org/23437
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I70b7e33e7045d397e41f571caff6a2acbb64eaab
Gerrit-Change-Number: 23437
Gerrit-PatchSet: 3
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 31 Jan 2018 19:26:49 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/23516
Change subject: amd/soc/common: Remove cbmem subregions in heap
......................................................................
amd/soc/common: Remove cbmem subregions in heap
Revert most of 4f3f47b "amd/common: Define regions in cbmem". This
puts the management of the heap space back to its traditional
methodology. Subsequent patches that were to have used these
subregions have been reworked.
Change-Id: Ib3d40bcf61c50dbc481b60e7b5286f65a529b912
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
---
M src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h
D src/soc/amd/common/block/include/amdblocks/s3_resume.h
M src/soc/amd/common/block/pi/heapmanager.c
3 files changed, 1 insertion(+), 33 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/23516/1
diff --git a/src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h b/src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h
index 8a9474e..e061c63 100644
--- a/src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h
+++ b/src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h
@@ -18,18 +18,10 @@
#define __CALLOUTS_AMD_AGESA_H__
#include <amdblocks/agesawrapper.h>
-#include <amdblocks/s3_resume.h>
#define BIOS_HEAP_SIZE 0x30000
#define BSP_STACK_BASE_ADDR 0x30000
-struct cbmem_usage {
- uint8_t heap_base[BIOS_HEAP_SIZE];
-#if IS_ENABLED(CONFIG_HAVE_ACPI_RESUME)
- uint8_t s3_vol_data[S3_VOLATILE_SIZE];
-#endif
-};
-
typedef struct _BIOS_HEAP_MANAGER {
UINT32 StartOfAllocatedNodes;
UINT32 StartOfFreedNodes;
diff --git a/src/soc/amd/common/block/include/amdblocks/s3_resume.h b/src/soc/amd/common/block/include/amdblocks/s3_resume.h
deleted file mode 100644
index 567b0a8..0000000
--- a/src/soc/amd/common/block/include/amdblocks/s3_resume.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2017 Advanced Micro Devices, 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.
- */
-
-#ifndef __AMD_S3_RESUME_H__
-#define __AMD_S3_RESUME_H__
-
-#define S3_VOLATILE_SIZE 0x6000
-
-#endif /* __AMD_S3_RESUME_H__ */
diff --git a/src/soc/amd/common/block/pi/heapmanager.c b/src/soc/amd/common/block/pi/heapmanager.c
index 6b47ec3..79c8403 100644
--- a/src/soc/amd/common/block/pi/heapmanager.c
+++ b/src/soc/amd/common/block/pi/heapmanager.c
@@ -21,10 +21,7 @@
void *agesa_heap_base(void)
{
- struct cbmem_usage *heap;
- heap = (struct cbmem_usage *)cbmem_add(CBMEM_ID_RESUME_SCRATCH,
- sizeof(struct cbmem_usage));
- return &heap->heap_base;
+ return cbmem_add(CBMEM_ID_RESUME_SCRATCH, BIOS_HEAP_SIZE);
}
static void EmptyHeap(int unused)
--
To view, visit https://review.coreboot.org/23516
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib3d40bcf61c50dbc481b60e7b5286f65a529b912
Gerrit-Change-Number: 23516
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/23071 )
Change subject: payloads: Add LinuxBoot payload in u-root mode
......................................................................
Patch Set 11: Verified+1
Build Successful
https://qa.coreboot.org/job/coreboot-checkpatch/21436/ : SUCCESS
https://qa.coreboot.org/job/coreboot-gerrit/66843/ : SUCCESS
--
To view, visit https://review.coreboot.org/23071
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3a25ff6812e046acc688cbbb203cf262ad751659
Gerrit-Change-Number: 23071
Gerrit-PatchSet: 11
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Chris K <c(a)chrisko.ch>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Ronald G. Minnich <rminnich(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich
Gerrit-Comment-Date: Wed, 31 Jan 2018 18:38:38 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes