diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-25 11:29:27 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-02-02 13:55:14 +0100 |
commit | e1a0888ed224cc4c4e019a37b7b0331b11745e4d (patch) | |
tree | 866b19699ef768bb5462dfbef17127e6cb25f008 /board/sunxi/dram_bananapi.c | |
parent | 046664aedd1da0b964cdf678371b11cce3eb0468 (diff) | |
download | u-boot-imx-e1a0888ed224cc4c4e019a37b7b0331b11745e4d.zip u-boot-imx-e1a0888ed224cc4c4e019a37b7b0331b11745e4d.tar.gz u-boot-imx-e1a0888ed224cc4c4e019a37b7b0331b11745e4d.tar.bz2 |
sunxi: Convert sun5i boards to use auto dram configuration
Currently we've separate detailed dram settings for all sun5i boards, this
moves them over to using auto dram configuration so that we can get rid of
all the per board dram_foo.c files.
This has been tested on a A10s-Olinuxino, A13-Olinuxino, A13-OlinuxinoM,
mk802-a10s and r7-tv-dongle board.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi/dram_bananapi.c')
-rw-r--r-- | board/sunxi/dram_bananapi.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/board/sunxi/dram_bananapi.c b/board/sunxi/dram_bananapi.c deleted file mode 100644 index 0ed7943..0000000 --- a/board/sunxi/dram_bananapi.c +++ /dev/null @@ -1,31 +0,0 @@ -/* this file is generated, don't edit it yourself */ - -#include <common.h> -#include <asm/arch/dram.h> - -static struct dram_para dram_para = { - .clock = 432, - .type = 3, - .rank_num = 1, - .density = 4096, - .io_width = 16, - .bus_width = 32, - .cas = 9, - .zq = 0x7f, - .odt_en = 0, - .size = 1024, - .tpr0 = 0x42d899b7, - .tpr1 = 0xa090, - .tpr2 = 0x22a00, - .tpr3 = 0x0, - .tpr4 = 0x1, - .tpr5 = 0x0, - .emr1 = 0x4, - .emr2 = 0x10, - .emr3 = 0x0, -}; - -unsigned long sunxi_dram_init(void) -{ - return dramc_init(&dram_para); -} |