summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/spd/spd.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-04-14 22:11:13 -0700
committerFurquan Shaikh <furquan@google.com>2017-04-19 19:18:32 +0200
commitcbed0c26d0949489e7430013fd01c8f9ea1e3a88 (patch)
tree526de3c862432ef4641c906afac918ca6cb498e4 /src/mainboard/google/poppy/spd/spd.h
parent374d1ff8aacba5fc872b76bed6daf97da55e997a (diff)
downloadcoreboot-cbed0c26d0949489e7430013fd01c8f9ea1e3a88.tar.xz
mainboard/google/poppy: Provide memory configuration variant API
Add support for memory configuration by providing weak implementation from the baseboard. All SPD files are present under spd/ directory. SPD_SOURCES must be provided by the variants to ensure that required SPD hex files are included in the SPD binary. BUG=b:37375693 Change-Id: Ic9bcc03d5a35bebd14061680f264ac072b3c0634 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/19325 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/poppy/spd/spd.h')
-rw-r--r--src/mainboard/google/poppy/spd/spd.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/mainboard/google/poppy/spd/spd.h b/src/mainboard/google/poppy/spd/spd.h
deleted file mode 100644
index 4195a0cf1b..0000000000
--- a/src/mainboard/google/poppy/spd/spd.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2016 Google Inc.
- * Copyright (C) 2016 Intel Corporation
- *
- * 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 MAINBOARD_SPD_H
-#define MAINBOARD_SPD_H
-
-#define SPD_LEN 256
-
-#define SPD_DRAM_TYPE 2
-#define SPD_DRAM_DDR3 0x0b
-#define SPD_DRAM_LPDDR3 0xf1
-#define SPD_DENSITY_BANKS 4
-#define SPD_ADDRESSING 5
-#define SPD_ORGANIZATION 7
-#define SPD_BUS_DEV_WIDTH 8
-#define SPD_PART_OFF 128
-#define SPD_PART_LEN 18
-#define SPD_MANU_OFF 148
-
-uintptr_t mainboard_get_spd_data(void);
-
-#endif