Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1156976
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Rob Herring <robh@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] of: make unittest select OF_EARLY_FLATTREE instead of depend on it |
| Date | Wed, 03 Jun 2015 00:50:02 +0200 |
| Message-ID | <px3aq-6Sy-9@gated-at.bofh.it> (permalink) |
| References | <px3ap-6Sy-1@gated-at.bofh.it> |
| X-Original-To | devicetree@vger.kernel.org, Grant Likely <grant.likely@linaro.org>, Ralf Baechle <ralf@linux-mips.org> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=4Ow1F/oRAU/zcILLXCYlezRyRLTc6JR5Ejt5xRL1vg0=; b=qwCDXj5/kTVqmbM0oEL9VYMuu32Z1GIW11w/Kd2YHNspW4503NaOxgC3IvhN/ul8+U 0Qnx0kr/aqUCxberDEdZq4IJcan0JZ1Bi6U/IpO0fnz9B2Py2GhSsmLqso9vfJiugO92 2GqLYkg3O1P/+R1W3qKJOLsva/OVJvefeHC4A1pr9XeBoJoyYPsli08KjqAt6hTAKJv5 qYFDkFQI/AK/+uFzEj2NPPhJo90gaRrz8M+D3IHbqa7KY3YbVPpeq2cEk181ENVOGPir SUn8P0rZknzL8W2+wbOiykCA7DRLo/9f2R9CGq/5CuFdrEu+ZAYGUhbrca07qbePkTqK cR3g== |
| X-Received | by 10.55.15.135 with SMTP id 7mr52942419qkp.12.1433285218988; Tue, 02 Jun 2015 15:46:58 -0700 (PDT) |
| X-Mailer | git-send-email 2.1.0 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 37 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, Pantelis Antoniou <pantelis.antoniou@konsulko.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Rob Herring <robh@kernel.org> |
| X-Original-Date | Tue, 2 Jun 2015 17:46:44 -0500 |
| X-Original-Message-ID | <1433285204-4307-4-git-send-email-robh@kernel.org> |
| X-Original-References | <1433285204-4307-1-git-send-email-robh@kernel.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1156976 |
Show key headers only | View raw
The DT unittest currently requires an arch (typically) to select OF_EARLY_FLATTREE. Remove this dependency by selecting it directly so that the unittest can be enabled easily on any architecture. With this and the prior commit, we can easily enable and run unittests starting with x86 defconfig rather than hunting for the combination of config options to enable OF on x86. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Grant Likely <grant.likely@linaro.org> --- drivers/of/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 415b51d..7e76af9 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -8,7 +8,8 @@ if OF config OF_UNITTEST bool "Device Tree runtime unit tests" - depends on OF_IRQ && OF_EARLY_FLATTREE + depends on OF_IRQ + select OF_EARLY_FLATTREE select OF_RESOLVE help This option builds in test cases for the device tree infrastructure -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] Make CONFIG_OF user selectable Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
[PATCH 1/3] MIPS: prepare for user enabling of CONFIG_OF Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
[PATCH 3/3] of: make unittest select OF_EARLY_FLATTREE instead of depend on it Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
[PATCH 2/3] of: make CONFIG_OF user selectable Rob Herring <robh@kernel.org> - 2015-06-03 00:50 +0200
Re: [PATCH 2/3] of: make CONFIG_OF user selectable Geert Uytterhoeven <geert@linux-m68k.org> - 2015-06-03 08:50 +0200
csiph-web