ASRock E350M1: buildOpts.c: Add missing memory related defines
When building the ASRock E350M1, the following warnings are shown.
$ make # on Jenkins (build server)
[…]
CC mainboard/asrock/e350m1/buildOpts.romstage.o
In file included from src/mainboard/asrock/e350m1/buildOpts.c:294:0:
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2071:6: warning: "DDR1333_FREQUENCY" is not defined [-Wundef]
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2071:40: warning: "DDR1866_FREQUENCY" is not defined [-Wundef]
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2089:5: warning: "TIMING_MODE_AUTO" is not defined [-Wundef]
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2089:31: warning: "TIMING_MODE_SPECIFIC" is not defined [-Wundef]
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2113:5: warning: "QUADRANK_UNBUFFERED" is not defined [-Wundef]
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2113:33: warning: "QUADRANK_UNBUFFERED" is not defined [-Wundef]
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2127:5: warning: "POWER_DOWN_BY_CHIP_SELECT" is not defined [-Wundef]
src/vendorcode/amd/agesa/f14/Include/PlatformInstall.h:2127:28: warning: "POWER_DOWN_BY_CHIP_SELECT" is not defined [-Wundef]
[…]
Adding the corresponding defines as done for AMD Persimmon in
commit d7a696d0f2
Author: efdesign98 <efdesign98@gmail.com>
Date: Thu Sep 15 15:24:26 2011 -0600
Persimmon updates for AMD F14 rev C0
Reviewed-on: http://review.coreboot.org/137
addresses the warnings.
Change-Id: Id311b2dacdba5f2e6b4d834e43db0310213a35f9
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/2962
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martin.roth@se-eng.com>
This commit is contained in:
parent
032daad697
commit
0499da9885
|
@ -279,6 +279,30 @@ CONST AP_MTRR_SETTINGS ROMDATA OntarioApMtrrSettingsList[] =
|
||||||
// This string MUST be exactly 12 characters long
|
// This string MUST be exactly 12 characters long
|
||||||
#define AGESA_VERSION_STRING {'V', '0', '.', '0', '.', '0', '.', '1', ' ', ' ', ' ', ' '}
|
#define AGESA_VERSION_STRING {'V', '0', '.', '0', '.', '0', '.', '1', ' ', ' ', ' ', ' '}
|
||||||
|
|
||||||
|
/* MEMORY_BUS_SPEED */
|
||||||
|
#define DDR400_FREQUENCY 200 ///< DDR 400
|
||||||
|
#define DDR533_FREQUENCY 266 ///< DDR 533
|
||||||
|
#define DDR667_FREQUENCY 333 ///< DDR 667
|
||||||
|
#define DDR800_FREQUENCY 400 ///< DDR 800
|
||||||
|
#define DDR1066_FREQUENCY 533 ///< DDR 1066
|
||||||
|
#define DDR1333_FREQUENCY 667 ///< DDR 1333
|
||||||
|
#define DDR1600_FREQUENCY 800 ///< DDR 1600
|
||||||
|
#define DDR1866_FREQUENCY 933 ///< DDR 1866
|
||||||
|
#define UNSUPPORTED_DDR_FREQUENCY 934 ///< Highest limit of DDR frequency
|
||||||
|
|
||||||
|
/* QUANDRANK_TYPE */
|
||||||
|
#define QUADRANK_REGISTERED 0 ///< Quadrank registered DIMM
|
||||||
|
#define QUADRANK_UNBUFFERED 1 ///< Quadrank unbuffered DIMM
|
||||||
|
|
||||||
|
/* USER_MEMORY_TIMING_MODE */
|
||||||
|
#define TIMING_MODE_AUTO 0 ///< Use best rate possible
|
||||||
|
#define TIMING_MODE_LIMITED 1 ///< Set user top limit
|
||||||
|
#define TIMING_MODE_SPECIFIC 2 ///< Set user specified speed
|
||||||
|
|
||||||
|
/* POWER_DOWN_MODE */
|
||||||
|
#define POWER_DOWN_BY_CHANNEL 0 ///< Channel power down mode
|
||||||
|
#define POWER_DOWN_BY_CHIP_SELECT 1 ///< Chip select power down mode
|
||||||
|
|
||||||
// The following definitions specify the default values for various parameters in which there are
|
// The following definitions specify the default values for various parameters in which there are
|
||||||
// no clearly defined defaults to be used in the common file. The values below are based on product
|
// no clearly defined defaults to be used in the common file. The values below are based on product
|
||||||
// and BKDG content, please consult the AGESA Memory team for consultation.
|
// and BKDG content, please consult the AGESA Memory team for consultation.
|
||||||
|
|
Loading…
Reference in New Issue