mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Dmitry Smagin <dmitry.s.smagin@gmail.com>
To: barebox@lists.infradead.org
Cc: Dmitry Smagin <dmitry.s.smagin@gmail.com>
Subject: [PATCH 1/3] Add missing dependency ENV_HANDLING for OF_BAREBOX_DRIVER option
Date: Wed, 18 Sep 2013 09:20:31 +0400	[thread overview]
Message-ID: <1379481633-24534-2-git-send-email-dmitry.s.smagin@gmail.com> (raw)
In-Reply-To: <1379481633-24534-1-git-send-email-dmitry.s.smagin@gmail.com>

This patch fixes linker error:
  barebox.c:(.text.environment_probe+0x48): undefined reference to `default_environment_path`

Which appears when compiling env-less boards with enabled devicetree.

Signed-off-by: Dmitry Smagin <dmitry.s.smagin@gmail.com>
---
 drivers/of/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index ab5eac8..6b893d7 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -21,6 +21,7 @@ config OF_NET
 
 config OF_BAREBOX_DRIVERS
 	depends on OFDEVICE
+	depends on ENV_HANDLING
 	bool "Enable barebox specific devicetree configuration drivers"
 	help
 	  barebox supports being configured from devicetree. This enables
-- 
1.8.4.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-09-18  5:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-18  5:20 [PATCH 0/3] Enable devicetree for Ritmix RZX-50 board Dmitry Smagin
2013-09-18  5:20 ` Dmitry Smagin [this message]
2013-09-18  5:20 ` [PATCH 2/3] MIPS: rxz50: add initial devicetree support Dmitry Smagin
2013-09-18  5:20 ` [PATCH 3/3] MIPS: rzx50_defconfig: enable devicetree Dmitry Smagin
2013-09-19  6:30 ` [PATCH 0/3] Enable devicetree for Ritmix RZX-50 board Antony Pavlov
2013-09-19  6:54 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1379481633-24534-2-git-send-email-dmitry.s.smagin@gmail.com \
    --to=dmitry.s.smagin@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox