Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 616dda56 authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Nirmal Abraham
Browse files

ARM: dts: msm: Mount the vendor partition during early init



Add support to early mount vendor partition so that vendor modules
can be loaded during early init for msm8917, msm8937, msm8953
and msm8996.

CRs-Fixed: 2055039
Change-Id: If9c7d4b1f7d0e5ae811890b59ec0d9fba20f2f15
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent bfd96c27
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
Android firmware

Node to specify early mount of vendor partition.

Required properties

-compatible: "android,firmware"

Child nodes:
------------

fstab:
------------------------------

fstab entry to specify mount attributes of vendor partition.

Required properties:

-compatible: "android,fstab"

Child nodes:
------------

vendor:
-----------------

vendor partition specification.

Required properties:

-compatible: "android,vendor"
-dev: block device corresponding to vendor partition
-type: file system type of vendor partition
-mnt_flags: mount flags
-fsmgr_flags: fsmgr flags

Example:

	firmware: firmware {
		android {
			compatible = "android,firmware";
			fstab {
				compatible = "android,fstab";
				vendor {
					compatible = "android,vendor";
					dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/vendor";
					type = "ext4";
					mnt_flags = "ro,barrier=1,discard";
					fsmgr_flags = "wait,slotselect";
					status = "ok";
				};
			};
		};
	};
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ amd Advanced Micro Devices (AMD), Inc.
amlogic	Amlogic, Inc.
ams	AMS AG
amstaos	AMS-Taos Inc.
android	Google Inc.
apm	Applied Micro Circuits Corporation (APM)
arm	ARM Ltd.
armadeus	ARMadeus Systems SARL
+17 −0
Original line number Diff line number Diff line
@@ -49,6 +49,23 @@
		sdhc2 = &sdhc_2; /* SDC2 for SD card */
	};

	firmware: firmware {
		android {
			compatible = "android,firmware";
			fstab {
				compatible = "android,fstab";
				vendor {
					compatible = "android,vendor";
					dev = "/dev/block/platform/soc/7824900.sdhci/by-name/vendor";
					type = "ext4";
					mnt_flags = "ro,barrier=1,discard";
					fsmgr_flags = "wait";
					status = "ok";
				};
			};
		};
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
+17 −0
Original line number Diff line number Diff line
@@ -25,6 +25,23 @@
		bootargs = "sched_enable_hmp=1";
	};

	firmware: firmware {
		android {
			compatible = "android,firmware";
			fstab {
				compatible = "android,fstab";
				vendor {
					compatible = "android,vendor";
					dev = "/dev/block/platform/soc/7824900.sdhci/by-name/vendor";
					type = "ext4";
					mnt_flags = "ro,barrier=1,discard";
					fsmgr_flags = "wait";
					status = "ok";
				};
			};
		};
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
+17 −0
Original line number Diff line number Diff line
@@ -26,6 +26,23 @@
		bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1";
	};

	firmware: firmware {
		android {
			compatible = "android,firmware";
			fstab {
				compatible = "android,fstab";
				vendor {
					compatible = "android,vendor";
					dev = "/dev/block/platform/soc/7824900.sdhci/by-name/vendor";
					type = "ext4";
					mnt_flags = "ro,barrier=1,discard";
					fsmgr_flags = "wait";
					status = "ok";
				};
			};
		};
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
Loading