All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts
@ 2014-12-24  5:06 Bin Meng
  2014-12-24  5:06 ` [U-Boot] [PATCH 2/5] x86: Remove alex.dts " Bin Meng
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Bin Meng @ 2014-12-24  5:06 UTC (permalink / raw)
  To: u-boot

The include directory in arch/x86/dts is not used, so remove it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/dts/include/dt-bindings | 1 -
 1 file changed, 1 deletion(-)
 delete mode 120000 arch/x86/dts/include/dt-bindings

diff --git a/arch/x86/dts/include/dt-bindings b/arch/x86/dts/include/dt-bindings
deleted file mode 120000
index 0cecb3d..0000000
--- a/arch/x86/dts/include/dt-bindings
+++ /dev/null
@@ -1 +0,0 @@
-../../../../include/dt-bindings
\ No newline at end of file
-- 
1.8.2.1

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

* [U-Boot] [PATCH 2/5] x86: Remove alex.dts in arch/x86/dts
  2014-12-24  5:06 [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Bin Meng
@ 2014-12-24  5:06 ` Bin Meng
  2014-12-28  1:22   ` Simon Glass
  2014-12-24  5:06 ` [U-Boot] [PATCH 3/5] x86: Rename coreboot.dsti to serial.dtsi Bin Meng
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 17+ messages in thread
From: Bin Meng @ 2014-12-24  5:06 UTC (permalink / raw)
  To: u-boot

No board is using alex.dts, so remove it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/dts/Makefile |  1 -
 arch/x86/dts/alex.dts | 24 ------------------------
 2 files changed, 25 deletions(-)
 delete mode 100644 arch/x86/dts/alex.dts

diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile
index 3b5d6da..5525094 100644
--- a/arch/x86/dts/Makefile
+++ b/arch/x86/dts/Makefile
@@ -1,6 +1,5 @@
 dtb-y += link.dtb \
 	chromebook_link.dtb \
-	alex.dtb \
 	crownbay.dtb
 
 targets += $(dtb-y)
diff --git a/arch/x86/dts/alex.dts b/arch/x86/dts/alex.dts
deleted file mode 100644
index 2f13544..0000000
--- a/arch/x86/dts/alex.dts
+++ /dev/null
@@ -1,24 +0,0 @@
-/dts-v1/;
-
-/include/ "coreboot.dtsi"
-
-/ {
-	#address-cells = <1>;
-	#size-cells = <1>;
-	model = "Google Alex";
-	compatible = "google,alex", "intel,atom-pineview";
-
-	config {
-	       silent_console = <0>;
-	};
-
-	gpio: gpio {};
-
-	serial {
-		reg = <0x3f8 8>;
-		clock-frequency = <115200>;
-	};
-
-	chosen { };
-	memory { device_type = "memory"; reg = <0 0>; };
-};
-- 
1.8.2.1

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

* [U-Boot] [PATCH 3/5] x86: Rename coreboot.dsti to serial.dtsi
  2014-12-24  5:06 [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Bin Meng
  2014-12-24  5:06 ` [U-Boot] [PATCH 2/5] x86: Remove alex.dts " Bin Meng
@ 2014-12-24  5:06 ` Bin Meng
  2014-12-28  1:22   ` Simon Glass
  2014-12-24  5:06 ` [U-Boot] [PATCH 4/5] x86: Clean up the board dts files Bin Meng
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 17+ messages in thread
From: Bin Meng @ 2014-12-24  5:06 UTC (permalink / raw)
  To: u-boot

The name of coreboot.dtsi is misleading, as it actually describes
the legacy serial port device node.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/dts/crownbay.dts                   | 2 +-
 arch/x86/dts/link.dts                       | 2 +-
 arch/x86/dts/{coreboot.dtsi => serial.dtsi} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename arch/x86/dts/{coreboot.dtsi => serial.dtsi} (100%)

diff --git a/arch/x86/dts/crownbay.dts b/arch/x86/dts/crownbay.dts
index 3f43f3c..c3e112f 100644
--- a/arch/x86/dts/crownbay.dts
+++ b/arch/x86/dts/crownbay.dts
@@ -6,7 +6,7 @@
 
 /dts-v1/;
 
-/include/ "coreboot.dtsi"
+/include/ "serial.dtsi"
 
 / {
 	#address-cells = <1>;
diff --git a/arch/x86/dts/link.dts b/arch/x86/dts/link.dts
index a739080..c6b7d82 100644
--- a/arch/x86/dts/link.dts
+++ b/arch/x86/dts/link.dts
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "coreboot.dtsi"
+/include/ "serial.dtsi"
 
 / {
 	#address-cells = <1>;
diff --git a/arch/x86/dts/coreboot.dtsi b/arch/x86/dts/serial.dtsi
similarity index 100%
rename from arch/x86/dts/coreboot.dtsi
rename to arch/x86/dts/serial.dtsi
-- 
1.8.2.1

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

* [U-Boot] [PATCH 4/5] x86: Clean up the board dts files
  2014-12-24  5:06 [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Bin Meng
  2014-12-24  5:06 ` [U-Boot] [PATCH 2/5] x86: Remove alex.dts " Bin Meng
  2014-12-24  5:06 ` [U-Boot] [PATCH 3/5] x86: Rename coreboot.dsti to serial.dtsi Bin Meng
@ 2014-12-24  5:06 ` Bin Meng
  2014-12-28  1:22   ` Simon Glass
  2014-12-24  5:06 ` [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board Bin Meng
  2014-12-28  1:02 ` [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Simon Glass
  4 siblings, 1 reply; 17+ messages in thread
From: Bin Meng @ 2014-12-24  5:06 UTC (permalink / raw)
  To: u-boot

This commits cleans up the board dts files.

- Correct the serial port register size to 8
- Remove the misleading status = "disabled" statement in the
  serial.dtsi
- Move the inclusion of skeleton.dtsi from serial.dtsi to board
  dts files
- Let the board dts file define stdout-path in the chosen node
- Remove device nodes in board dts files thar are duplicated to
  skeleton.dtsi

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/dts/crownbay.dts | 11 +++--------
 arch/x86/dts/link.dts     | 11 +++--------
 arch/x86/dts/serial.dtsi  |  9 +--------
 3 files changed, 7 insertions(+), 24 deletions(-)

diff --git a/arch/x86/dts/crownbay.dts b/arch/x86/dts/crownbay.dts
index c3e112f..97f7a52 100644
--- a/arch/x86/dts/crownbay.dts
+++ b/arch/x86/dts/crownbay.dts
@@ -6,11 +6,10 @@
 
 /dts-v1/;
 
+/include/ "skeleton.dtsi"
 /include/ "serial.dtsi"
 
 / {
-	#address-cells = <1>;
-	#size-cells = <1>;
 	model = "Intel Crown Bay";
 	compatible = "intel,crownbay", "intel,queensbay";
 
@@ -32,14 +31,10 @@
 		bank-name = "B";
 	};
 
-	serial {
-		reg = <0x3f8 8>;
-		clock-frequency = <115200>;
+	chosen {
+		stdout-path = "/serial";
 	};
 
-	chosen { };
-	memory { device_type = "memory"; reg = <0 0>; };
-
 	spi {
 		#address-cells = <1>;
 		#size-cells = <0>;
diff --git a/arch/x86/dts/link.dts b/arch/x86/dts/link.dts
index c6b7d82..107af60 100644
--- a/arch/x86/dts/link.dts
+++ b/arch/x86/dts/link.dts
@@ -1,10 +1,9 @@
 /dts-v1/;
 
+/include/ "skeleton.dtsi"
 /include/ "serial.dtsi"
 
 / {
-	#address-cells = <1>;
-	#size-cells = <1>;
 	model = "Google Link";
 	compatible = "google,link", "intel,celeron-ivybridge";
 
@@ -33,14 +32,10 @@
 		bank-name = "C";
 	};
 
-	serial {
-		reg = <0x3f8 8>;
-		clock-frequency = <115200>;
+	chosen {
+		stdout-path = "/serial";
 	};
 
-	chosen { };
-	memory { device_type = "memory"; reg = <0 0>; };
-
 	spd {
 		compatible = "memory-spd";
 		#address-cells = <1>;
diff --git a/arch/x86/dts/serial.dtsi b/arch/x86/dts/serial.dtsi
index 65a93ac..ebdda76 100644
--- a/arch/x86/dts/serial.dtsi
+++ b/arch/x86/dts/serial.dtsi
@@ -1,17 +1,10 @@
-/include/ "skeleton.dtsi"
-
 / {
-	chosen {
-		stdout-path = "/serial";
-	};
-
 	serial {
 		compatible = "x86-uart";
-		reg = <0x3f8 0x10>;
+		reg = <0x3f8 8>;
 		reg-shift = <0>;
 		io-mapped = <1>;
 		multiplier = <1>;
 		baudrate = <115200>;
-		status = "disabled";
 	};
 };
-- 
1.8.2.1

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

* [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board
  2014-12-24  5:06 [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Bin Meng
                   ` (2 preceding siblings ...)
  2014-12-24  5:06 ` [U-Boot] [PATCH 4/5] x86: Clean up the board dts files Bin Meng
@ 2014-12-24  5:06 ` Bin Meng
  2014-12-28  1:07   ` Simon Glass
  2014-12-28  1:02 ` [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Simon Glass
  4 siblings, 1 reply; 17+ messages in thread
From: Bin Meng @ 2014-12-24  5:06 UTC (permalink / raw)
  To: u-boot

Right now all dts files under arch/x86/dts are compiled. This is
not necessary so update the Makefile to only compile dts file for
a specific board.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/dts/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile
index 5525094..1291e69 100644
--- a/arch/x86/dts/Makefile
+++ b/arch/x86/dts/Makefile
@@ -1,6 +1,6 @@
-dtb-y += link.dtb \
-	chromebook_link.dtb \
-	crownbay.dtb
+dtb-$(CONFIG_TARGET_COREBOOT) += link.dtb
+dtb-$(CONFIG_TARGET_CHROMEBOOK_LINK) += chromebook_link.dtb
+dtb-$(CONFIG_TARGET_CROWNBAY) += crownbay.dtb
 
 targets += $(dtb-y)
 
-- 
1.8.2.1

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

* [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts
  2014-12-24  5:06 [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Bin Meng
                   ` (3 preceding siblings ...)
  2014-12-24  5:06 ` [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board Bin Meng
@ 2014-12-28  1:02 ` Simon Glass
  2014-12-29  6:04   ` Bin Meng
  4 siblings, 1 reply; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:02 UTC (permalink / raw)
  To: u-boot

Hi Bin,

On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
> The include directory in arch/x86/dts is not used, so remove it.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---

Actually we do need this - the Chrome OS keyboard .dtsi will use a
binding when I get around to updating it.

>
>  arch/x86/dts/include/dt-bindings | 1 -
>  1 file changed, 1 deletion(-)
>  delete mode 120000 arch/x86/dts/include/dt-bindings
>
> diff --git a/arch/x86/dts/include/dt-bindings b/arch/x86/dts/include/dt-bindings
> deleted file mode 120000
> index 0cecb3d..0000000
> --- a/arch/x86/dts/include/dt-bindings
> +++ /dev/null
> @@ -1 +0,0 @@
> -../../../../include/dt-bindings
> \ No newline at end of file
> --
> 1.8.2.1
>

Regards,
Simon

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

* [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board
  2014-12-24  5:06 ` [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board Bin Meng
@ 2014-12-28  1:07   ` Simon Glass
  2014-12-29  5:56     ` Bin Meng
  0 siblings, 1 reply; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:07 UTC (permalink / raw)
  To: u-boot

Hi Bin,

On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
> Right now all dts files under arch/x86/dts are compiled. This is
> not necessary so update the Makefile to only compile dts file for
> a specific board.

I'd rather that we go the other way - making the boards more common.
If I can get the Minnowmax spun up I am going to try to unify the
support such that we can build an image that will boot on all the x86
boards. This would require:

- a set of operations and data provided by each board (how to do CAR,
whether to use FSP, how to detect the board, etc.)
- allowing a board config to enable multiple arch types, like
ivybridge and atom, for example
- allow multiple device trees, FSPs, microcodes, etc. to reside in the image

One benefit is easier programming, if we can have an image that is
common to many boards - we don't need to worry so much about breaking
a different board if most things are common. Also we retain the option
to build just for a single target.

I feel that if we get the structure for this in place now, it will be
relatively easy to build on, whereas trying to retrofit it later would
be too hard.

Regards,
Simon

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

* [U-Boot] [PATCH 2/5] x86: Remove alex.dts in arch/x86/dts
  2014-12-24  5:06 ` [U-Boot] [PATCH 2/5] x86: Remove alex.dts " Bin Meng
@ 2014-12-28  1:22   ` Simon Glass
  2014-12-28  1:25     ` Simon Glass
  0 siblings, 1 reply; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:22 UTC (permalink / raw)
  To: u-boot

On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
> No board is using alex.dts, so remove it.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

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

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

* [U-Boot] [PATCH 3/5] x86: Rename coreboot.dsti to serial.dtsi
  2014-12-24  5:06 ` [U-Boot] [PATCH 3/5] x86: Rename coreboot.dsti to serial.dtsi Bin Meng
@ 2014-12-28  1:22   ` Simon Glass
  2014-12-28  1:26     ` Simon Glass
  0 siblings, 1 reply; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:22 UTC (permalink / raw)
  To: u-boot

On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
> The name of coreboot.dtsi is misleading, as it actually describes
> the legacy serial port device node.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

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

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

* [U-Boot] [PATCH 4/5] x86: Clean up the board dts files
  2014-12-24  5:06 ` [U-Boot] [PATCH 4/5] x86: Clean up the board dts files Bin Meng
@ 2014-12-28  1:22   ` Simon Glass
  2014-12-28  1:26     ` Simon Glass
  0 siblings, 1 reply; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:22 UTC (permalink / raw)
  To: u-boot

On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
> This commits cleans up the board dts files.
>
> - Correct the serial port register size to 8
> - Remove the misleading status = "disabled" statement in the
>   serial.dtsi
> - Move the inclusion of skeleton.dtsi from serial.dtsi to board
>   dts files
> - Let the board dts file define stdout-path in the chosen node
> - Remove device nodes in board dts files thar are duplicated to
>   skeleton.dtsi
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
Acked-by: Simon Glass <sjg@chromium.org>

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

* [U-Boot] [PATCH 2/5] x86: Remove alex.dts in arch/x86/dts
  2014-12-28  1:22   ` Simon Glass
@ 2014-12-28  1:25     ` Simon Glass
  0 siblings, 0 replies; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:25 UTC (permalink / raw)
  To: u-boot

On 27 December 2014 at 18:22, Simon Glass <sjg@chromium.org> wrote:
> On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
>> No board is using alex.dts, so remove it.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-x86/next, thanks!

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

* [U-Boot] [PATCH 3/5] x86: Rename coreboot.dsti to serial.dtsi
  2014-12-28  1:22   ` Simon Glass
@ 2014-12-28  1:26     ` Simon Glass
  0 siblings, 0 replies; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:26 UTC (permalink / raw)
  To: u-boot

On 27 December 2014 at 18:22, Simon Glass <sjg@chromium.org> wrote:
> On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
>> The name of coreboot.dtsi is misleading, as it actually describes
>> the legacy serial port device node.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-x86/next, thanks!

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

* [U-Boot] [PATCH 4/5] x86: Clean up the board dts files
  2014-12-28  1:22   ` Simon Glass
@ 2014-12-28  1:26     ` Simon Glass
  0 siblings, 0 replies; 17+ messages in thread
From: Simon Glass @ 2014-12-28  1:26 UTC (permalink / raw)
  To: u-boot

On 27 December 2014 at 18:22, Simon Glass <sjg@chromium.org> wrote:
> On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
>> This commits cleans up the board dts files.
>>
>> - Correct the serial port register size to 8
>> - Remove the misleading status = "disabled" statement in the
>>   serial.dtsi
>> - Move the inclusion of skeleton.dtsi from serial.dtsi to board
>>   dts files
>> - Let the board dts file define stdout-path in the chosen node
>> - Remove device nodes in board dts files thar are duplicated to
>>   skeleton.dtsi
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>> ---
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-x86/next, thanks!

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

* [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board
  2014-12-28  1:07   ` Simon Glass
@ 2014-12-29  5:56     ` Bin Meng
  0 siblings, 0 replies; 17+ messages in thread
From: Bin Meng @ 2014-12-29  5:56 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sun, Dec 28, 2014 at 9:07 AM, Simon Glass <sjg@chromium.org> wrote:
> Hi Bin,
>
> On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
>> Right now all dts files under arch/x86/dts are compiled. This is
>> not necessary so update the Makefile to only compile dts file for
>> a specific board.
>
> I'd rather that we go the other way - making the boards more common.
> If I can get the Minnowmax spun up I am going to try to unify the
> support such that we can build an image that will boot on all the x86
> boards. This would require:
>
> - a set of operations and data provided by each board (how to do CAR,
> whether to use FSP, how to detect the board, etc.)
> - allowing a board config to enable multiple arch types, like
> ivybridge and atom, for example
> - allow multiple device trees, FSPs, microcodes, etc. to reside in the image
>
> One benefit is easier programming, if we can have an image that is
> common to many boards - we don't need to worry so much about breaking
> a different board if most things are common. Also we retain the option
> to build just for a single target.
>
> I feel that if we get the structure for this in place now, it will be
> relatively easy to build on, whereas trying to retrofit it later would
> be too hard.
>

The idea of making the boards support more common sounds good to me.
We will see how far we can go.

Regards,
Bin

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

* [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts
  2014-12-28  1:02 ` [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Simon Glass
@ 2014-12-29  6:04   ` Bin Meng
  2014-12-29 19:39     ` Simon Glass
  0 siblings, 1 reply; 17+ messages in thread
From: Bin Meng @ 2014-12-29  6:04 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sun, Dec 28, 2014 at 9:02 AM, Simon Glass <sjg@chromium.org> wrote:
> Hi Bin,
>
> On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
>> The include directory in arch/x86/dts is not used, so remove it.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>> ---
>
> Actually we do need this - the Chrome OS keyboard .dtsi will use a
> binding when I get around to updating it.
>

OK, so maybe we can just put anything we do need into the include
instead of a symbolic link to the genric one?

Regards,
Bin

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

* [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts
  2014-12-29  6:04   ` Bin Meng
@ 2014-12-29 19:39     ` Simon Glass
  2014-12-30  1:57       ` Bin Meng
  0 siblings, 1 reply; 17+ messages in thread
From: Simon Glass @ 2014-12-29 19:39 UTC (permalink / raw)
  To: u-boot

Hi Bin,

On 28 December 2014 at 23:04, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Simon,
>
> On Sun, Dec 28, 2014 at 9:02 AM, Simon Glass <sjg@chromium.org> wrote:
>> Hi Bin,
>>
>> On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
>>> The include directory in arch/x86/dts is not used, so remove it.
>>>
>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>>> ---
>>
>> Actually we do need this - the Chrome OS keyboard .dtsi will use a
>> binding when I get around to updating it.
>>
>
> OK, so maybe we can just put anything we do need into the include
> instead of a symbolic link to the genric one?

The idea as (I understand it) is that include/dt-bindings is the
standard directory for all archs to put their bindings. This is how
ARM works too.

Regards,
Simon

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

* [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts
  2014-12-29 19:39     ` Simon Glass
@ 2014-12-30  1:57       ` Bin Meng
  0 siblings, 0 replies; 17+ messages in thread
From: Bin Meng @ 2014-12-30  1:57 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Tue, Dec 30, 2014 at 3:39 AM, Simon Glass <sjg@chromium.org> wrote:
> Hi Bin,
>
> On 28 December 2014 at 23:04, Bin Meng <bmeng.cn@gmail.com> wrote:
>> Hi Simon,
>>
>> On Sun, Dec 28, 2014 at 9:02 AM, Simon Glass <sjg@chromium.org> wrote:
>>> Hi Bin,
>>>
>>> On 23 December 2014 at 22:06, Bin Meng <bmeng.cn@gmail.com> wrote:
>>>> The include directory in arch/x86/dts is not used, so remove it.
>>>>
>>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>>>> ---
>>>
>>> Actually we do need this - the Chrome OS keyboard .dtsi will use a
>>> binding when I get around to updating it.
>>>
>>
>> OK, so maybe we can just put anything we do need into the include
>> instead of a symbolic link to the genric one?
>
> The idea as (I understand it) is that include/dt-bindings is the
> standard directory for all archs to put their bindings. This is how
> ARM works too.
>

OK, thanks for the clarification.

Regards,
Bin

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

end of thread, other threads:[~2014-12-30  1:57 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-24  5:06 [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Bin Meng
2014-12-24  5:06 ` [U-Boot] [PATCH 2/5] x86: Remove alex.dts " Bin Meng
2014-12-28  1:22   ` Simon Glass
2014-12-28  1:25     ` Simon Glass
2014-12-24  5:06 ` [U-Boot] [PATCH 3/5] x86: Rename coreboot.dsti to serial.dtsi Bin Meng
2014-12-28  1:22   ` Simon Glass
2014-12-28  1:26     ` Simon Glass
2014-12-24  5:06 ` [U-Boot] [PATCH 4/5] x86: Clean up the board dts files Bin Meng
2014-12-28  1:22   ` Simon Glass
2014-12-28  1:26     ` Simon Glass
2014-12-24  5:06 ` [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board Bin Meng
2014-12-28  1:07   ` Simon Glass
2014-12-29  5:56     ` Bin Meng
2014-12-28  1:02 ` [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts Simon Glass
2014-12-29  6:04   ` Bin Meng
2014-12-29 19:39     ` Simon Glass
2014-12-30  1:57       ` Bin Meng

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.