DTS: partitions: change axg partitions for bringup android O
authoryu.fang <yu.fang@amlogic.com>
Wed, 21 Mar 2018 05:26:32 +0000 (13:26 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 27 Mar 2018 08:32:12 +0000 (00:32 -0800)
PD#158937: A113 Android O trunk bring up.

Change-Id: Ibdb605b5c17abe8165270621e6893ea1d2ab88ef
Signed-off-by: Yu Fang <yu.fang@amlogic.com>
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
arch/arm64/boot/dts/amlogic/axg_s400emmc.dts
arch/arm64/boot/dts/amlogic/axg_s400emmc_v03.dts
drivers/amlogic/media/common/arch/registers/register_ops_m8.c

index 8d4c886..fa16a28 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "mesonaxg.dtsi"
 #include "mesonaxg_s400-panel.dtsi"
+#include "partition_mbox_normal.dtsi"
 / {
        model = "Amlogic";
        amlogic-dt-id = "axg_s400_1g";
        };
 
        partitions: partitions{
-               parts = <12>;
+               parts = <14>;
                part-0 = <&logo>;
                part-1 = <&recovery>;
                part-2 = <&rsv>;
                part-5 = <&misc>;
                part-6 = <&instaboot>;
                part-7 = <&boot>;
-               part-8 = <&system>;
-               part-9 = <&cache>;
-               part-10 = <&udisk>;
-               part-11 = <&data>;
+               part-8 = <&vendor>;
+               part-9 = <&odm>;
+               part-10 = <&system>;
+               part-11 = <&cache>;
+               part-12 = <&udisk>;
+               part-13 = <&data>;
 
                logo:logo{
                        pname = "logo";
                        size = <0x0 0x2000000>;
                        mask = <1>;
                };
+               vendor:vendor
+               {
+                       pname = "vendor";
+                       size = <0x0 0x10000000>;
+                       mask = <1>;
+               };
+               odm:odm
+               {
+                       pname = "odm";
+                       size = <0x0 0x10000000>;
+                       mask = <1>;
+               };
                system:system
                {
                        pname = "system";
index 9bf75da..e4a447d 100644 (file)
        };
 
        partitions: partitions{
-               parts = <12>;
+               parts = <14>;
                part-0 = <&logo>;
                part-1 = <&recovery>;
                part-2 = <&rsv>;
                part-5 = <&misc>;
                part-6 = <&instaboot>;
                part-7 = <&boot>;
-               part-8 = <&system>;
-               part-9 = <&cache>;
-               part-10 = <&udisk>;
-               part-11 = <&data>;
+               part-8 = <&vendor>;
+               part-9 = <&odm>;
+               part-10 = <&system>;
+               part-11 = <&cache>;
+               part-12 = <&udisk>;
+               part-13 = <&data>;
 
                logo:logo{
                        pname = "logo";
                        size = <0x0 0x2000000>;
                        mask = <1>;
                };
+               vendor:vendor
+               {
+                       pname = "vendor";
+                       size = <0x0 0x10000000>;
+                       mask = <1>;
+               };
+               odm:odm
+               {
+                       pname = "odm";
+                       size = <0x0 0x10000000>;
+                       mask = <1>;
+               };
                system:system
                {
                        pname = "system";
index a98ba71..3623ede 100644 (file)
@@ -28,6 +28,7 @@
        MESON_CPU_MAJOR_ID_GXM, \
        MESON_CPU_MAJOR_ID_TXL, \
        MESON_CPU_MAJOR_ID_TXLX, \
+       MESON_CPU_MAJOR_ID_AXG, \
        MESON_CPU_MAJOR_ID_G12A, \
                        0}
 #define REGISTER_FOR_GXCPU {\
@@ -37,6 +38,7 @@
        MESON_CPU_MAJOR_ID_GXM, \
        MESON_CPU_MAJOR_ID_TXL, \
        MESON_CPU_MAJOR_ID_TXLX, \
+       MESON_CPU_MAJOR_ID_AXG, \
        MESON_CPU_MAJOR_ID_G12A, \
                        0}
 int codec_apb_read(unsigned int reg)