All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] SPL initialization for DDR memory
@ 2013-10-07 17:08 Laszlo Papp
  0 siblings, 0 replies; only message in thread
From: Laszlo Papp @ 2013-10-07 17:08 UTC (permalink / raw)
  To: u-boot

Hi all,

I tried to ask for some help last week about the basics, but got no
responses in here, unfortunately:

http://lists.denx.de/pipermail/u-boot/2013-September/163875.html

I decided to give it one more go. My current question: if I have a working
u-boot for our board, and I only added the line below, can I build SPL that
it initializes everything correctly, like PLL, external DDR memory, etc?

#define CONFIG_SPL_TARGET  "u-boot-spl.bin"

...

diff -urN u-boot-2013.07/arch/arm/cpu/arm926ejs/davinci/spl.c
u-boot-2013.07-modified/arch/arm/cpu/arm926ejs/davinci/spl.c
--- u-boot-2013.07/arch/arm/cpu/arm926ejs/davinci/spl.c 2013-07-23
12:58:13.000000000 +0100
+++ u-boot-2013.07-modified/arch/arm/cpu/arm926ejs/davinci/spl.c
 2013-10-07 17:06:42.476694997 +0100
@@ -83,6 +83,7 @@

 u32 spl_boot_device(void)
 {
+    return BOOT_DEVICE_UART;

...

Thank you in advance,
Laszlo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-07 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-07 17:08 [U-Boot] SPL initialization for DDR memory Laszlo Papp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.