diff options
author | Martin Roth <martin.roth@se-eng.com> | 2013-01-20 10:38:58 -0700 |
---|---|---|
committer | Martin Roth <martin.roth@se-eng.com> | 2013-02-01 04:00:02 +0100 |
commit | 7fb692bd867b271834be797029a6b4f72e4601bd (patch) | |
tree | e3f2699717681450d06b9a0b3cc8dd96ad9765ac /src/northbridge/amd/agesa/family15tn/chip.h | |
parent | 50c0a50ac6a3fa54ed1286e8b76f933701b6d053 (diff) |
Fam15tn: Move SPD read from mainboards into wrapper
Continuing with the mainboard cleanup for F15tn, move the functions
to read the SPD from the mainboards for Thatcher and Parmer into the
wrapper for the northbridge/amd/agesa/family15tn.
Move the SPD address customization for the mainboard into the
devicetree.cb file.
Unrelated side note - Porting.h has an un-closed #pragma pack(1)
that can cause confusing side-effects. AGESA's structures all
use this, but coreboot's don't. Be sure to include the coreboot
.h files BEFORE Porting.h is included, not after.
This fix has been tested.
Change-Id: I89cdd225be61f60c6b8e7020e6f8b879983bbd96
Signed-off-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-on: http://review.coreboot.org/2190
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Siyuan Wang <wangsiyuanbuaa@gmail.com>
Diffstat (limited to 'src/northbridge/amd/agesa/family15tn/chip.h')
-rw-r--r-- | src/northbridge/amd/agesa/family15tn/chip.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/family15tn/chip.h b/src/northbridge/amd/agesa/family15tn/chip.h new file mode 100644 index 0000000000..013d648f51 --- /dev/null +++ b/src/northbridge/amd/agesa/family15tn/chip.h @@ -0,0 +1,28 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2013 Sage Electronic Engineering, LLC + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef _AGESA_FAM15TN_CHIP_H_ +#define _AGESA_FAM15TN_CHIP_H_ + +struct northbridge_amd_agesa_family15tn_config +{ + u8 spdAddrLookup[2][2][4]; +}; + +#endif |