mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 3/4] ARM: eDM-QMX6: remove extra FDT memcpy
Date: Thu,  1 May 2014 23:32:51 +0200	[thread overview]
Message-ID: <1398979972-14446-4-git-send-email-l.stach@pengutronix.de> (raw)
In-Reply-To: <1398979972-14446-1-git-send-email-l.stach@pengutronix.de>

Not needed anymore, as barebox now accepts FDTs outside
of it's visible DRAM, as long as it's a valid pointer.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boards/datamodul-edm-qmx6/lowlevel.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c b/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
index 071918cb5341..b1ce4e9df4ec 100644
--- a/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
+++ b/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
@@ -136,7 +136,6 @@ static void sdram_init(void)
 }
 
 extern char __dtb_imx6q_dmo_edmqmx6_start[];
-extern char __dtb_imx6q_dmo_edmqmx6_end[];
 
 ENTRY_FUNCTION(start_imx6_realq7, r0, r1, r2)
 {
@@ -154,14 +153,6 @@ ENTRY_FUNCTION(start_imx6_realq7, r0, r1, r2)
 
 		mmdc_do_write_level_calibration();
 		mmdc_do_dqs_calibration();
-
-		/*
-		 * Copy the devicetree blob to sdram so that the barebox code finds it
-		 * inside valid SDRAM instead of SRAM.
-		 */
-		memcpy((void*)sdram, fdt, __dtb_imx6q_dmo_edmqmx6_end -
-		       __dtb_imx6q_dmo_edmqmx6_start);
-		fdt = (void *)sdram;
 	}
 
 	barebox_arm_entry(sdram, SZ_2G, fdt);
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2014-05-01 21:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01 21:32 [PATCH 0/4] barebox_arm_entry signature change Lucas Stach
2014-05-01 21:32 ` [PATCH 1/4] ARM: change signature of barebox_arm_entry Lucas Stach
2014-05-01 21:32 ` [PATCH 2/4] ARM: beaglebone: remove extra FDT memcpy Lucas Stach
2014-05-01 21:32 ` Lucas Stach [this message]
2014-05-01 21:32 ` [PATCH 4/4] ARM: phycore-am33xx: " Lucas Stach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398979972-14446-4-git-send-email-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox