dts: add partition_mbox_p241.dtsi. [1/1]

PD#SWPL-924

Problem:
It occurs error when the kernel is compiled separately.

Solution:
copy partition_mbox_p241.dtsi to common/arch/arm/boot/dts/amlogic/

Verify:
verify by curie

Change-Id: Id5821c50c1333f6c91c2559894b10181a41df6a6
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
This commit is contained in:
Luan Yuan
2018-10-23 14:41:08 +08:00
parent cdc14a2bb8
commit 8fced213f3
3 changed files with 150 additions and 1 deletions

View File

@@ -14646,3 +14646,8 @@ M: Luan Yuan <luan.yuan@amlogic.com>
F: arch/arm/boot/dts/amlogic/gxl_p241_1g.dts
F: arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts
F: arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi
AMLOGIC DTS
M: Luan Yuan <luan.yuan@amlogic.com>
F: arch/arm/boot/dts/amlogic/partition_mbox_p241_P.dtsi

View File

@@ -0,0 +1,144 @@
/*
* Amlogic partition set for normal
*
* Copyright (c) 2017-2017 Amlogic Ltd
*
* This file is licensed under a dual GPLv2 or BSD license.
*
*/
/ {
partitions: partitions{
parts = <14>;
part-0 = <&logo>;
part-1 = <&recovery>;
part-2 = <&misc>;
part-3 = <&dto>;
part-4 = <&cri_data>;
part-5 = <&param>;
part-6 = <&boot>;
part-7 = <&rsv>;
part-8 = <&tee>;
part-9 = <&vendor>;
part-10 = <&odm>;
part-11 = <&system>;
part-12 = <&cache>;
part-13 = <&data>;
logo:logo{
pname = "logo";
size = <0x0 0x800000>;
mask = <1>;
};
recovery:recovery{
pname = "recovery";
size = <0x0 0x1800000>;
mask = <1>;
};
misc:misc{
pname = "misc";
size = <0x0 0x800000>;
mask = <1>;
};
dto:dto{
pname = "dto";
size = <0x0 0x800000>;
mask = <1>;
};
cri_data:cri_data
{
pname = "cri_data";
size = <0x0 0x800000>;
mask = <2>;
};
rsv:rsv{
pname = "rsv";
size = <0x0 0x1000000>;
mask = <1>;
};
param:param{
pname = "param";
size = <0x0 0x1000000>;
mask = <2>;
};
boot:boot
{
pname = "boot";
size = <0x0 0x1000000>;
mask = <1>;
};
tee:tee{
pname = "tee";
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";
size = <0x0 0x46000000>;
mask = <1>;
};
cache:cache
{
pname = "cache";
size = <0x0 0x25000000>;
mask = <2>;
};
data:data
{
pname = "data";
size = <0xffffffff 0xffffffff>;
mask = <4>;
};
};
firmware {
android {
compatible = "android, firmware";
vbmeta {
compatible = "android, vbmeta";
parts = "boot, system, vendor";
by_name_prefix="/dev/block";
};
fstab {
compatible = "android, fstab";
system {
compatible = "android, system";
dev = "/dev/block/system";
type = "ext4";
mnt_flags =
"ro,barrier=1,inode_readahead_blks=8";
fsmgr_flags = "wait";
};
vendor {
compatible = "android, vendor";
dev = "/dev/block/vendor";
type = "ext4";
mnt_flags =
"ro,barrier=1,inode_readahead_blks=8";
fsmgr_flags = "wait";
};
odm {
compatible = "android, odm";
dev = "/dev/block/odm";
type = "ext4";
mnt_flags =
"ro,barrier=1,inode_readahead_blks=8";
fsmgr_flags = "wait";
};
};
};
};
};/* end of / */

View File

@@ -7,7 +7,7 @@
*
*/
#include "firmware_system.dtsi"
#include "firmware_normal.dtsi"
/ {
partitions: partitions{