All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Setting CONFIG_SYS_TEXT_BASE when CONFIG_NAND_SPL is selected
@ 2011-09-05 19:02 Fabio Estevam
  2011-09-06  9:56 ` Stefano Babic
  2011-09-08 19:27 ` Scott Wood
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2011-09-05 19:02 UTC (permalink / raw)
  To: u-boot

Hi,

On a MX31PDK the only boot media is NAND flash, so I was trying to get
rid of the
conditional setting of CONFIG_SYS_TEXT_BASE.

CONFIG_NAND_SPL is set in nand_spl/board/freescale/mx31pdk/Makefile.

,so I tried the following:

diff --git a/board/freescale/mx31pdk/config.mk b/board/freescale/mx31pdk/config.
index de2c642..b9932ec 100644
--- a/board/freescale/mx31pdk/config.mk
+++ b/board/freescale/mx31pdk/config.mk
@@ -1,5 +1,2 @@
-ifdef CONFIG_NAND_SPL
 CONFIG_SYS_TEXT_BASE = 0x87ec0000
-else
-CONFIG_SYS_TEXT_BASE = 0x87f00000
-endif
+

,but this causes the board not to boot.

Does anyone have any ideas as to why the patch above does not work?

Thanks,

Fabio Estevam

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-08 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 19:02 [U-Boot] Setting CONFIG_SYS_TEXT_BASE when CONFIG_NAND_SPL is selected Fabio Estevam
2011-09-06  9:56 ` Stefano Babic
2011-09-08 19:27 ` Scott Wood

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.