aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/u-boot/u-boot-git/beagleboard/0014-OMAP3-board.c-don-t-attempt-to-set-up-second-RAM-ban.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/u-boot/u-boot-git/beagleboard/0014-OMAP3-board.c-don-t-attempt-to-set-up-second-RAM-ban.patch')
-rw-r--r--recipes/u-boot/u-boot-git/beagleboard/0014-OMAP3-board.c-don-t-attempt-to-set-up-second-RAM-ban.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes/u-boot/u-boot-git/beagleboard/0014-OMAP3-board.c-don-t-attempt-to-set-up-second-RAM-ban.patch b/recipes/u-boot/u-boot-git/beagleboard/0014-OMAP3-board.c-don-t-attempt-to-set-up-second-RAM-ban.patch
deleted file mode 100644
index a092ca25ec..0000000000
--- a/recipes/u-boot/u-boot-git/beagleboard/0014-OMAP3-board.c-don-t-attempt-to-set-up-second-RAM-ban.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 7f50d09f9a00b7f2a392a5b0b9f2f19a96a90c16 Mon Sep 17 00:00:00 2001
-From: Steve Sakoman <steve@sakoman.com>
-Date: Tue, 23 Mar 2010 09:04:50 -0700
-Subject: [PATCH 14/50] OMAP3: board.c: don't attempt to set up second RAM bank, assume x-load has already done this
-
----
- cpu/arm_cortexa8/omap3/board.c | 19 +++++++++----------
- 1 files changed, 9 insertions(+), 10 deletions(-)
-
-diff --git a/cpu/arm_cortexa8/omap3/board.c b/cpu/arm_cortexa8/omap3/board.c
-index 7b78fa4..0126152 100644
---- a/cpu/arm_cortexa8/omap3/board.c
-+++ b/cpu/arm_cortexa8/omap3/board.c
-@@ -232,6 +232,7 @@ void s_init(void)
-
- per_clocks_enable();
-
-+ /* FIXME: u-boot's sdrc setup is broken */
- if (!in_sdram)
- sdrc_init();
- }
-@@ -281,16 +282,14 @@ int dram_init(void)
- {
- DECLARE_GLOBAL_DATA_PTR;
- unsigned int size0 = 0, size1 = 0;
--
-- /*
-- * If a second bank of DDR is attached to CS1 this is
-- * where it can be started. Early init code will init
-- * memory on CS0.
-- */
-- if ((sysinfo.mtype == DDR_COMBO) || (sysinfo.mtype == DDR_STACKED)) {
-- do_sdrc_init(CS1, NOT_EARLY);
-- make_cs1_contiguous();
-- }
-+ struct sdrc *sdrc_base = (struct sdrc *)OMAP34XX_SDRC_BASE;
-+ struct sdrc_actim *sdrc_actim_base = (struct sdrc_actim *)SDRC_ACTIM_CTRL1_BASE;
-+
-+ /* x-load sets up the second bank but */
-+ /* doesn't test to see if it is there */
-+ /* do so now, disable if not present */
-+ if (!mem_ok(CS1))
-+ writel(0, &sdrc_base->cs[1].mcfg);
-
- size0 = get_sdr_cs_size(CS0);
- size1 = get_sdr_cs_size(CS1);
---
-1.6.6.1
-