From: Tellen Yu Date: Wed, 5 Sep 2018 11:12:03 +0000 (+0800) Subject: dtsi: dtbo: change dto partition name to dtbo [1/2] X-Git-Tag: khadas-vims-v0.9.6-release~1299 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48c84bb4f2e90b120c5351be0e6077c99e25d000;p=platform%2Fkernel%2Flinux-amlogic.git dtsi: dtbo: change dto partition name to dtbo [1/2] PD#173146 Problem: All devices launching with Android 9 must use dtbo partition Solution: Android P request device tree overlay partition name is dtbo Verify: verified by p212 board in Android P Change-Id: If48b6eaf0a0ee2d76a5fb0b58353fb82381c71ee Signed-off-by: Tellen Yu Signed-off-by: Xindong Xu --- diff --git a/MAINTAINERS b/MAINTAINERS index f0587b3..a0ab2c3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14616,7 +14616,6 @@ M: Xindong Xu F: arch/arm64/boot/dts/amlogic/firmware_avb_system.dtsi F: arch/arm64/boot/dts/amlogic/firmware_system.dtsi - AMLOGIC SYSTEM AS ROOT M: Renjun Xu F: arch/arm64/boot/dts/amlogic/axg_s400_v03gva.dts @@ -14636,3 +14635,8 @@ AMLOGIC TL1 CLOCK DRIVERS M: Jian Hu F: include/dt-bindings/clock/amlogic,tl1-clkc.h F: drivers/amlogic/clk/tl1/* + +AMLOGIC DTBO PARTITION +M: Xindong Xu +F: arch/arm64/boot/dts/amlogic/common_overlay_dt.dts +F: arch/arm/boot/dts/amlogic/common_overlay_dt.dts diff --git a/arch/arm/boot/dts/amlogic/common_overlay_dt.dts b/arch/arm/boot/dts/amlogic/common_overlay_dt.dts new file mode 100644 index 0000000..842906d --- /dev/null +++ b/arch/arm/boot/dts/amlogic/common_overlay_dt.dts @@ -0,0 +1,23 @@ +/* + * arch/arm64/boot/dts/amlogic/common_overlay_dt.dts + * + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + */ + +/dts-v1/; +/plugin/; + +&amlogic_codec { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/amlogic/partition_mbox_normal.dtsi b/arch/arm/boot/dts/amlogic/partition_mbox_normal.dtsi index 6a968f8..a556771 100644 --- a/arch/arm/boot/dts/amlogic/partition_mbox_normal.dtsi +++ b/arch/arm/boot/dts/amlogic/partition_mbox_normal.dtsi @@ -12,7 +12,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -39,8 +39,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi b/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi index 1f519c8..f2c5742 100644 --- a/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi +++ b/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi @@ -15,7 +15,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -45,8 +45,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi b/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi index f8f8bc5..2b8e730 100644 --- a/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi +++ b/arch/arm/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi @@ -15,7 +15,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -45,8 +45,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/common_overlay_dt.dts b/arch/arm64/boot/dts/amlogic/common_overlay_dt.dts new file mode 100644 index 0000000..842906d --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/common_overlay_dt.dts @@ -0,0 +1,23 @@ +/* + * arch/arm64/boot/dts/amlogic/common_overlay_dt.dts + * + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + */ + +/dts-v1/; +/plugin/; + +&amlogic_codec { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/amlogic/partition_mbox_normal.dtsi b/arch/arm64/boot/dts/amlogic/partition_mbox_normal.dtsi index 6a968f8..a556771 100644 --- a/arch/arm64/boot/dts/amlogic/partition_mbox_normal.dtsi +++ b/arch/arm64/boot/dts/amlogic/partition_mbox_normal.dtsi @@ -12,7 +12,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -39,8 +39,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi index 1f519c8..f2c5742 100644 --- a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi +++ b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32.dtsi @@ -15,7 +15,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -45,8 +45,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_atom.dtsi b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_atom.dtsi index b1db28a..8d1cf30 100644 --- a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_atom.dtsi +++ b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_atom.dtsi @@ -15,7 +15,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -45,8 +45,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_sei.dtsi b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_sei.dtsi index dffdb42..65dfed1 100644 --- a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_sei.dtsi +++ b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_32_sei.dtsi @@ -15,7 +15,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -45,8 +45,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi index f8f8bc5..2b8e730 100644 --- a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi +++ b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_P_64.dtsi @@ -15,7 +15,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -45,8 +45,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_sei32bit.dtsi b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_sei32bit.dtsi index 75984be..6ca9cb9 100644 --- a/arch/arm64/boot/dts/amlogic/partition_mbox_normal_sei32bit.dtsi +++ b/arch/arm64/boot/dts/amlogic/partition_mbox_normal_sei32bit.dtsi @@ -12,7 +12,7 @@ part-0 = <&logo>; part-1 = <&recovery>; part-2 = <&misc>; - part-3 = <&dto>; + part-3 = <&dtbo>; part-4 = <&cri_data>; part-5 = <¶m>; part-6 = <&boot>; @@ -39,8 +39,8 @@ size = <0x0 0x800000>; mask = <1>; }; - dto:dto{ - pname = "dto"; + dtbo:dtbo{ + pname = "dtbo"; size = <0x0 0x800000>; mask = <1>; };