amd/agesa/family12/dimmSpd.c: Indent (tab) fix
Trivial; Use tab over space for indent. Clean up some ASCII art while here. Change-Id: Id2478d140a98596c5eeefdf5b047c1ca23203909 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: https://review.coreboot.org/8016 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Stefan Reinauer
parent
2bffa8aa84
commit
46f8bd70ef
@@ -1,4 +1,4 @@
|
|||||||
/*****************************************************************************
|
/*
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011, Advanced Micro Devices, Inc.
|
* Copyright (c) 2011, Advanced Micro Devices, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "Porting.h"
|
#include "Porting.h"
|
||||||
@@ -40,6 +40,7 @@ typedef struct _DIMM_INFO_SMBUS{
|
|||||||
UINT8 DimmId;
|
UINT8 DimmId;
|
||||||
UINT8 SmbusAddress;
|
UINT8 SmbusAddress;
|
||||||
} DIMM_INFO_SMBUS;
|
} DIMM_INFO_SMBUS;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SPD address table - porting required
|
* SPD address table - porting required
|
||||||
*/
|
*/
|
||||||
@@ -60,6 +61,7 @@ AmdMemoryReadSPD (
|
|||||||
UINT8 SmBusAddress = 0;
|
UINT8 SmBusAddress = 0;
|
||||||
UINTN Index;
|
UINTN Index;
|
||||||
UINTN MaxSocket = ARRAY_SIZE(SpdAddrLookup);
|
UINTN MaxSocket = ARRAY_SIZE(SpdAddrLookup);
|
||||||
|
|
||||||
for (Index = 0; Index < MaxSocket; Index ++) {
|
for (Index = 0; Index < MaxSocket; Index ++) {
|
||||||
if ((SpdData->SocketId == SpdAddrLookup[Index].SocketId) &&
|
if ((SpdData->SocketId == SpdAddrLookup[Index].SocketId) &&
|
||||||
(SpdData->MemChannelId == SpdAddrLookup[Index].MemChannelId) &&
|
(SpdData->MemChannelId == SpdAddrLookup[Index].MemChannelId) &&
|
||||||
|
Reference in New Issue
Block a user