Skip to content

Commit

Permalink
powerpc/fsl: Move Freescale device tree files into fsl folder
Browse files Browse the repository at this point in the history
It makes no sense that some Freescale device tree files are in fsl
directory while some others not. This patch move Freescale device tree
files into fsl folder. To do that the following two steps are made:
- Move Freescale device tree files into fsl folder.
- Update the include path in these files from "fsl/*.dtsi" to "*.dtsi".

Please add "fsl/" prefix when you make dtb using Makefile.

Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
[scottwood: fixed cuImage rule]
Signed-off-by: Scott Wood <scottwood@freescale.com>
  • Loading branch information
Hongtao Jia authored and Scott Wood committed Oct 17, 2015
1 parent 2d80f65 commit dc37374
Show file tree
Hide file tree
Showing 105 changed files with 146 additions and 143 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ $(obj)/cuImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
$(obj)/cuImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
$(call if_changed,wrap,cuboot-$*,,$(obj)/$*.dtb)

$(obj)/cuImage.%: vmlinux $(obj)/fsl/%.dtb $(wrapperbits)
$(call if_changed,wrap,cuboot-$*,,$(obj)/fsl/$*.dtb)

$(obj)/simpleImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
$(call if_changed,wrap,simpleboot-$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* this software, even if advised of the possibility of such damage.
*/

/include/ "fsl/b4420si-pre.dtsi"
/include/ "b4420si-pre.dtsi"
/include/ "b4qds.dtsi"

/ {
Expand All @@ -47,4 +47,4 @@

};

/include/ "fsl/b4420si-post.dtsi"
/include/ "b4420si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/include/ "fsl/b4860si-pre.dtsi"
/include/ "b4860si-pre.dtsi"
/include/ "b4qds.dtsi"

/ {
Expand All @@ -58,4 +58,4 @@

};

/include/ "fsl/b4860si-post.dtsi"
/include/ "b4860si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@

};

/include/ "fsl/b4si-post.dtsi"
/include/ "b4si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/bsc9131si-pre.dtsi"
/include/ "bsc9131si-pre.dtsi"

/ {
model = "fsl,bsc9131rdb";
Expand All @@ -31,4 +31,4 @@
};

/include/ "bsc9131rdb.dtsi"
/include/ "fsl/bsc9131si-post.dtsi"
/include/ "bsc9131si-post.dtsi"
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/bsc9132si-pre.dtsi"
/include/ "bsc9132si-pre.dtsi"

/ {
model = "fsl,bsc9132qds";
Expand All @@ -32,4 +32,4 @@
};

/include/ "bsc9132qds.dtsi"
/include/ "fsl/bsc9132si-post.dtsi"
/include/ "bsc9132si-post.dtsi"
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/include/ "fsl/c293si-pre.dtsi"
/include/ "c293si-pre.dtsi"

/ {
model = "fsl,C293PCIE";
Expand Down Expand Up @@ -221,4 +221,4 @@
phy-connection-type = "rgmii-id";
};
};
/include/ "fsl/c293si-post.dtsi"
/include/ "c293si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* option) any later version.
*/

/include/ "fsl/p5020si-pre.dtsi"
/include/ "p5020si-pre.dtsi"

/ {
model = "varisys,CYRUS";
Expand Down Expand Up @@ -152,4 +152,4 @@
};
};

/include/ "fsl/p5020si-post.dtsi"
/include/ "p5020si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright 2009 Freescale Semiconductor Inc.
*/

/include/ "fsl/p2020si-pre.dtsi"
/include/ "p2020si-pre.dtsi"

/ {
model = "GE_IMP3A";
Expand Down Expand Up @@ -252,4 +252,4 @@
};
};

/include/ "fsl/p2020si-post.dtsi"
/include/ "p2020si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* option) any later version.
*/

/include/ "fsl/p2041si-pre.dtsi"
/include/ "p2041si-pre.dtsi"

/ {
model = "keymile,kmcoge4";
Expand Down Expand Up @@ -176,4 +176,4 @@
};
};

/include/ "fsl/p2041si-post.dtsi"
/include/ "p2041si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8536si-pre.dtsi"
/include/ "mpc8536si-pre.dtsi"

/ {
model = "fsl,mpc8536ds";
Expand Down Expand Up @@ -105,5 +105,5 @@
};
};

/include/ "fsl/mpc8536si-post.dtsi"
/include/ "mpc8536si-post.dtsi"
/include/ "mpc8536ds.dtsi"
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8536si-pre.dtsi"
/include/ "mpc8536si-pre.dtsi"

/ {
model = "fsl,mpc8536ds";
Expand Down Expand Up @@ -105,5 +105,5 @@
};
};

/include/ "fsl/mpc8536si-post.dtsi"
/include/ "mpc8536si-post.dtsi"
/include/ "mpc8536ds.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/dts-v1/;

/include/ "fsl/e500v2_power_isa.dtsi"
/include/ "e500v2_power_isa.dtsi"

/ {
model = "MPC8540ADS";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/dts-v1/;

/include/ "fsl/e500v2_power_isa.dtsi"
/include/ "e500v2_power_isa.dtsi"

/ {
model = "MPC8541CDS";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8544si-pre.dtsi"
/include/ "mpc8544si-pre.dtsi"

/ {
model = "MPC8544DS";
Expand Down Expand Up @@ -103,5 +103,5 @@
* for interrupt-map & interrupt-map-mask
*/

/include/ "fsl/mpc8544si-post.dtsi"
/include/ "mpc8544si-post.dtsi"
/include/ "mpc8544ds.dtsi"
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8548si-pre.dtsi"
/include/ "mpc8548si-pre.dtsi"

/ {
model = "MPC8548CDS";
Expand Down Expand Up @@ -82,5 +82,5 @@
* for interrupt-map & interrupt-map-mask.
*/

/include/ "fsl/mpc8548si-post.dtsi"
/include/ "mpc8548si-post.dtsi"
/include/ "mpc8548cds.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8548si-pre.dtsi"
/include/ "mpc8548si-pre.dtsi"

/ {
model = "MPC8548CDS";
Expand Down Expand Up @@ -82,5 +82,5 @@
* for interrupt-map & interrupt-map-mask.
*/

/include/ "fsl/mpc8548si-post.dtsi"
/include/ "mpc8548si-post.dtsi"
/include/ "mpc8548cds.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/dts-v1/;

/include/ "fsl/e500v2_power_isa.dtsi"
/include/ "e500v2_power_isa.dtsi"

/ {
model = "MPC8555CDS";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/dts-v1/;

/include/ "fsl/e500v2_power_isa.dtsi"
/include/ "e500v2_power_isa.dtsi"

/ {
model = "MPC8560ADS";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8568si-pre.dtsi"
/include/ "mpc8568si-pre.dtsi"

/ {
model = "MPC8568EMDS";
Expand Down Expand Up @@ -311,4 +311,4 @@
};
};

/include/ "fsl/mpc8568si-post.dtsi"
/include/ "mpc8568si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8569si-pre.dtsi"
/include/ "mpc8569si-pre.dtsi"

/ {
model = "MPC8569EMDS";
Expand Down Expand Up @@ -444,4 +444,4 @@
};
};

/include/ "fsl/mpc8569si-post.dtsi"
/include/ "mpc8569si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8572si-pre.dtsi"
/include/ "mpc8572si-pre.dtsi"

/ {
model = "fsl,MPC8572DS";
Expand Down Expand Up @@ -86,5 +86,5 @@
* for interrupt-map & interrupt-map-mask
*/

/include/ "fsl/mpc8572si-post.dtsi"
/include/ "mpc8572si-post.dtsi"
/include/ "mpc8572ds.dtsi"
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/mpc8572si-pre.dtsi"
/include/ "mpc8572si-pre.dtsi"

/ {
model = "fsl,MPC8572DS";
Expand Down Expand Up @@ -86,5 +86,5 @@
* for interrupt-map & interrupt-map-mask
*/

/include/ "fsl/mpc8572si-post.dtsi"
/include/ "mpc8572si-post.dtsi"
/include/ "mpc8572ds.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright 2009 Freescale Semiconductor Inc.
*/

/include/ "fsl/p2020si-pre.dtsi"
/include/ "p2020si-pre.dtsi"

/ {
model = "MVME2500";
Expand Down Expand Up @@ -258,7 +258,7 @@
};
};

/include/ "fsl/p2020si-post.dtsi"
/include/ "p2020si-post.dtsi"

/ {
soc@ffe00000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/include/ "fsl/p4080si-pre.dtsi"
/include/ "p4080si-pre.dtsi"

/ {
model = "fsl,OCA4080";
Expand Down Expand Up @@ -142,4 +142,4 @@
};
};

/include/ "fsl/p4080si-post.dtsi"
/include/ "p4080si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/p1010si-pre.dtsi"
/include/ "p1010si-pre.dtsi"

/ {
model = "fsl,P1010RDB";
Expand All @@ -20,4 +20,4 @@

/include/ "p1010rdb.dtsi"
/include/ "p1010rdb-pa.dtsi"
/include/ "fsl/p1010si-post.dtsi"
/include/ "p1010si-post.dtsi"
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/include/ "fsl/p1010si-pre.dtsi"
/include/ "p1010si-pre.dtsi"

/ {
model = "fsl,P1010RDB";
Expand All @@ -43,4 +43,4 @@

/include/ "p1010rdb.dtsi"
/include/ "p1010rdb-pa.dtsi"
/include/ "fsl/p1010si-post.dtsi"
/include/ "p1010si-post.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* option) any later version.
*/

/include/ "fsl/p1010si-pre.dtsi"
/include/ "p1010si-pre.dtsi"

/ {
model = "fsl,P1010RDB-PB";
Expand All @@ -32,4 +32,4 @@
interrupts = <1 1 0 0>;
};

/include/ "fsl/p1010si-post.dtsi"
/include/ "p1010si-post.dtsi"
Loading

0 comments on commit dc37374

Please sign in to comment.