mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
rockchip/rk3399: gru/kevin: drop unuse sdram config
there is some sdram config we do not use now, drop them. BUG=None BRANCH=None TEST=None Change-Id: I5f9278093f02e785b2894faa8e8cf09ecec20325 Signed-off-by: Lin Huang <hl@rock-chips.com> Reviewed-on: https://chromium-review.googlesource.com/399122 Commit-Ready: Douglas Anderson <dianders@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
89e45f8352
commit
111d375005
5 changed files with 3 additions and 4712 deletions
|
@ -23,23 +23,17 @@
|
|||
#include <types.h>
|
||||
|
||||
static const char *sdram_configs[] = {
|
||||
"sdram-lpddr3-hynix-4GB-200",
|
||||
"sdram-lpddr3-hynix-4GB-666",
|
||||
"sdram-lpddr3-hynix-4GB-800",
|
||||
"sdram-lpddr3-hynix-4GB-666-no-odt",
|
||||
"sdram-lpddr3-hynix-4GB-800-no-odt",
|
||||
"sdram-lpddr3-hynix-4GB-933",
|
||||
};
|
||||
|
||||
static struct rk3399_sdram_params params;
|
||||
|
||||
enum dram_speeds {
|
||||
dram_200MHz = 0,
|
||||
dram_666MHz = 1,
|
||||
dram_800MHz = 2,
|
||||
dram_666MHz_NO_ODT = 3,
|
||||
dram_800MHz_NO_ODT = 4,
|
||||
dram_933MHz = 5,
|
||||
dram_666MHz = 0,
|
||||
dram_800MHz = 1,
|
||||
dram_933MHz = 2,
|
||||
};
|
||||
|
||||
static enum dram_speeds get_sdram_index(void)
|
||||
|
@ -57,12 +51,7 @@ static enum dram_speeds get_sdram_index(void)
|
|||
}
|
||||
|
||||
if (IS_ENABLED(CONFIG_BOARD_GOOGLE_GRU))
|
||||
switch (id) {
|
||||
case 0:
|
||||
return dram_800MHz_NO_ODT;
|
||||
default:
|
||||
return dram_800MHz;
|
||||
}
|
||||
}
|
||||
|
||||
const struct rk3399_sdram_params *get_sdram_config()
|
||||
|
|
|
@ -15,11 +15,8 @@
|
|||
|
||||
sdram-params :=
|
||||
|
||||
sdram-params += sdram-lpddr3-hynix-4GB-200
|
||||
sdram-params += sdram-lpddr3-hynix-4GB-666
|
||||
sdram-params += sdram-lpddr3-hynix-4GB-666-no-odt
|
||||
sdram-params += sdram-lpddr3-hynix-4GB-800
|
||||
sdram-params += sdram-lpddr3-hynix-4GB-800-no-odt
|
||||
sdram-params += sdram-lpddr3-hynix-4GB-933
|
||||
|
||||
$(foreach params,$(sdram-params), \
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue