Skip to contentSkip to conversation

hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

PATCH New Tom Rini 3 participants 5 messages Apr 2, 2012 – Apr 3, 2012

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for CONFIG_SPL_NAND_SUPPORT to link.

---
 include/configs/hawkboard.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/hawkboard.h +1 -0
index 50a1c17..0859371 100644
@@ -62,6 +62,7 @@
 #define CONFIG_SPL_NAND_SUPPORT
 #define CONFIG_SPL_NAND_SIMPLE
 #define CONFIG_SPL_NAND_LOAD
+#define CONFIG_SPL_LIBGENERIC_SUPPORT	/* for udelay and __div64_32 for NAND */
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_LDSCRIPT		"board/$(BOARDDIR)/u-boot-spl-hawk.lds"
 #define CONFIG_SPL_TEXT_BASE		0xc1080000
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

Quoted 13 lines · Tom Rini

With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for CONFIG_SPL_NAND_SUPPORT to link.

---
 include/configs/hawkboard.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/hawkboard.h +0 -0
index 50a1c17..0859371 100644

include/configs/hawkboard.h line 68

Quoted 7 lines
include/configs/hawkboard.h +1 -0
@@ -62,6 +62,7 @@
 #define CONFIG_SPL_NAND_SUPPORT
 #define CONFIG_SPL_NAND_SIMPLE
 #define CONFIG_SPL_NAND_LOAD
+#define CONFIG_SPL_LIBGENERIC_SUPPORT	/* for udelay and __div64_32 for NAND */
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_LDSCRIPT		"board/$(BOARDDIR)/u-boot-spl-hawk.lds"
 #define CONFIG_SPL_TEXT_BASE		0xc1080000

Simon is adding this as part of the common relocation support patch series. I think he was going to send an updated version.

-sughosh

author
#2 lore raw

PATCH 1/1 hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

Quoted 9 lines · Sughosh Ganu
Quoted 8 lines · Tom Rini

With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for CONFIG_SPL_NAND_SUPPORT to link.

---
 include/configs/hawkboard.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 15 lines

include/configs/hawkboard.h line 68

Quoted 12 lines
include/configs/hawkboard.h +1 -0
index 50a1c17..0859371 100644
@@ -62,6 +62,7 @@
 #define CONFIG_SPL_NAND_SUPPORT
 #define CONFIG_SPL_NAND_SIMPLE
 #define CONFIG_SPL_NAND_LOAD
+#define CONFIG_SPL_LIBGENERIC_SUPPORT	/* for udelay and __div64_32 for NAND */
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_LDSCRIPT		"board/$(BOARDDIR)/u-boot-spl-hawk.lds"
 #define CONFIG_SPL_TEXT_BASE		0xc1080000

Simon is adding this as part of the common relocation support patch series. I think he was going to send an updated version.

Well, this is broken in mainline today so I don't want to wait.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120402/01707e3c/attachment.pgp>
#3 lore raw

PATCH 1/1 hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

Dear Tom Rini,

Quoted 21 lines · Sughosh Ganu
Quoted 20 lines · Tom Rini
Quoted 19 lines

With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for CONFIG_SPL_NAND_SUPPORT to link.

---

 include/configs/hawkboard.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/hawkboard.h +0 -0
index 50a1c17..0859371 100644
@@ -62,6 +62,7 @@
 
 #define CONFIG_SPL_NAND_SUPPORT
 #define CONFIG_SPL_NAND_SIMPLE
 #define CONFIG_SPL_NAND_LOAD
 
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
include/configs/hawkboard.h +1 -0
+#define CONFIG_SPL_LIBGENERIC_SUPPORT	/* for udelay and __div64_32 for

NAND */

#define CONFIG_SPL_SERIAL_SUPPORT
#define CONFIG_SPL_LDSCRIPT "board/$(BOARDDIR)/u-boot-spl-

hawk.lds"

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

#define CONFIG_SPL_TEXT_BASE 0xc1080000

Simon is adding this as part of the common relocation support patch series. I think he was going to send an updated version.

Well, this is broken in mainline today so I don't want to wait.

Agreed

Best regards,
Marek Vasut

author
#4 lore raw

PATCH 1/1 hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

In reply to Tom Rini
Quoted 4 lines · Tom Rini

With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for CONFIG_SPL_NAND_SUPPORT to link.

Queued up for u-boot-ti/master (which I intend to PR Friday).

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120403/acfb84e4/attachment.pgp>