projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git]
/
board
/
rockchip
/
evb_rk3036
/
evb_rk3036.c
1
// SPDX-License-Identifier: GPL-2.0+
2
/*
3
* (C) Copyright 2015 Rockchip Electronics Co., Ltd
4
*/
5
6
#include <common.h>
7
#include <dm.h>
8
#include <asm/io.h>
9
#include <asm/arch/uart.h>
10
#include <asm/arch/sdram_rk3036.h>
11
12
void get_ddr_config(struct rk3036_ddr_config *config)
13
{
14
/* K4B4G1646Q config */
15
config->ddr_type = 3;
16
config->rank = 2;
17
config->cs0_row = 15;
18
config->cs1_row = 15;
19
20
/* 8bank */
21
config->bank = 3;
22
config->col = 10;
23
24
/* 16bit bw */
25
config->bw = 1;
26
}