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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to