All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y
@ 2015-11-09  9:45 Michal Simek
  2015-11-09 20:03 ` Tom Rini
  2015-11-13  1:31 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 5+ messages in thread
From: Michal Simek @ 2015-11-09  9:45 UTC (permalink / raw)
  To: u-boot

CONFIG_OF_EMBED=y is the option which is here only for testing purpose
and shouldn't be enabled by default as is describe at:
"dts: Add a comment about CONFIG_OF_EMBED being for local use"
(sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c)

But still enabling this option locally shouldn't end up with compilation
error when you build SPL. This patch fix it.

Compilation error:
lib/built-in.o: In function `fdtdec_setup':
/mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to
`__dtb_dt_begin'

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 scripts/Makefile.spl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index dd235b9d7ad6..8f690eb70c47 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -56,6 +56,7 @@ libs-y += common/init/
 libs-$(CONFIG_SPL_LIBCOMMON_SUPPORT) += common/
 libs-$(CONFIG_SPL_LIBDISK_SUPPORT) += disk/
 libs-y += drivers/
+libs-y += dts/
 libs-y += fs/
 libs-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/
 libs-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/
-- 
2.5.0

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

* [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y
  2015-11-09  9:45 [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y Michal Simek
@ 2015-11-09 20:03 ` Tom Rini
  2015-11-09 20:24   ` Simon Glass
  2015-11-10  9:09   ` Michal Simek
  2015-11-13  1:31 ` [U-Boot] " Tom Rini
  1 sibling, 2 replies; 5+ messages in thread
From: Tom Rini @ 2015-11-09 20:03 UTC (permalink / raw)
  To: u-boot

On Mon, Nov 09, 2015 at 10:45:07AM +0100, Michal Simek wrote:

> CONFIG_OF_EMBED=y is the option which is here only for testing purpose
> and shouldn't be enabled by default as is describe at:
> "dts: Add a comment about CONFIG_OF_EMBED being for local use"
> (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c)
> 
> But still enabling this option locally shouldn't end up with compilation
> error when you build SPL. This patch fix it.
> 
> Compilation error:
> lib/built-in.o: In function `fdtdec_setup':
> /mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to
> `__dtb_dt_begin'
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Off-list but I _think_ patchwork will pick this up still:
Reported-by: Tom Rini <trini@konsulko.com>
And:
Reviewed-by: Tom Rini <trini@konsulko.com>

Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151109/ec6c06ea/attachment.sig>

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

* [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y
  2015-11-09 20:03 ` Tom Rini
@ 2015-11-09 20:24   ` Simon Glass
  2015-11-10  9:09   ` Michal Simek
  1 sibling, 0 replies; 5+ messages in thread
From: Simon Glass @ 2015-11-09 20:24 UTC (permalink / raw)
  To: u-boot

On 9 November 2015 at 12:03, Tom Rini <trini@konsulko.com> wrote:
> On Mon, Nov 09, 2015 at 10:45:07AM +0100, Michal Simek wrote:
>
>> CONFIG_OF_EMBED=y is the option which is here only for testing purpose
>> and shouldn't be enabled by default as is describe at:
>> "dts: Add a comment about CONFIG_OF_EMBED being for local use"
>> (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c)
>>
>> But still enabling this option locally shouldn't end up with compilation
>> error when you build SPL. This patch fix it.
>>
>> Compilation error:
>> lib/built-in.o: In function `fdtdec_setup':
>> /mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to
>> `__dtb_dt_begin'
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>
> Off-list but I _think_ patchwork will pick this up still:
> Reported-by: Tom Rini <trini@konsulko.com>
> And:
> Reviewed-by: Tom Rini <trini@konsulko.com>

Reviewed-by: Simon Glass <sjg@chromium.org>

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

* [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y
  2015-11-09 20:03 ` Tom Rini
  2015-11-09 20:24   ` Simon Glass
@ 2015-11-10  9:09   ` Michal Simek
  1 sibling, 0 replies; 5+ messages in thread
From: Michal Simek @ 2015-11-10  9:09 UTC (permalink / raw)
  To: u-boot

On 11/09/2015 09:03 PM, Tom Rini wrote:
> On Mon, Nov 09, 2015 at 10:45:07AM +0100, Michal Simek wrote:
> 
>> CONFIG_OF_EMBED=y is the option which is here only for testing purpose
>> and shouldn't be enabled by default as is describe at:
>> "dts: Add a comment about CONFIG_OF_EMBED being for local use"
>> (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c)
>>
>> But still enabling this option locally shouldn't end up with compilation
>> error when you build SPL. This patch fix it.
>>
>> Compilation error:
>> lib/built-in.o: In function `fdtdec_setup':
>> /mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to
>> `__dtb_dt_begin'
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> 
> Off-list but I _think_ patchwork will pick this up still:
> Reported-by: Tom Rini <trini@konsulko.com>

:-) yep. TBH I was aware about this problem for a while - just didn't
send patch out.

Cheers,
Michal

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

* [U-Boot] spl: Add support for CONFIG_OF_EMBED=y
  2015-11-09  9:45 [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y Michal Simek
  2015-11-09 20:03 ` Tom Rini
@ 2015-11-13  1:31 ` Tom Rini
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2015-11-13  1:31 UTC (permalink / raw)
  To: u-boot

On Mon, Nov 09, 2015 at 10:45:07AM +0100, Michal Simek wrote:

> CONFIG_OF_EMBED=y is the option which is here only for testing purpose
> and shouldn't be enabled by default as is describe at:
> "dts: Add a comment about CONFIG_OF_EMBED being for local use"
> (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c)
> 
> But still enabling this option locally shouldn't end up with compilation
> error when you build SPL. This patch fix it.
> 
> Compilation error:
> lib/built-in.o: In function `fdtdec_setup':
> /mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to
> `__dtb_dt_begin'
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> Reported-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151112/35b8e178/attachment.sig>

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

end of thread, other threads:[~2015-11-13  1:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09  9:45 [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y Michal Simek
2015-11-09 20:03 ` Tom Rini
2015-11-09 20:24   ` Simon Glass
2015-11-10  9:09   ` Michal Simek
2015-11-13  1:31 ` [U-Boot] " Tom Rini

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.