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

Commit 6b222c3c authored by Kumar Gala's avatar Kumar Gala
Browse files

msm: msm_memory_dump: remove use of MSM_IMEM_BASE



Move to getting address for msm_memory_dump region of IMEM from the device
tree and mapping via ioremap.  This removes a usage of MSM_IMEM_BASE which
will allow removal of the static IO mappings.

Change-Id: I99ec8a87c782b1d30e22606bf849b538bb95815e
Signed-off-by: default avatarKumar Gala <galak@codeaurora.org>
parent 3ce90111
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -34,6 +34,12 @@ Required properties:
-compatible: "qti,msm-imem-cache_erp"
-reg: start address and size of cache_erp region in imem

Memory Dump:
------------
Required properties:
-compatible: "qti,msm-imem-mem_dump_table"
-reg: start address and size of mem_dump_table region in imem

Example:

	qti,msm-imem {
+5 −0
Original line number Diff line number Diff line
@@ -258,6 +258,11 @@
		#address-cells = <1>;
		#size-cells = <1>;

		mem_dump_table@14 {
			compatible = "qti,msm-imem-mem_dump_table";
			reg = <0x14 4>;
		};

		imem_cache_erp: cache_erp@6a4 {
			compatible = "qti,msm-imem-cache_erp";
			reg = <0x6a4 4>;
+5 −0
Original line number Diff line number Diff line
@@ -291,6 +291,11 @@
		#address-cells = <1>;
		#size-cells = <1>;

		mem_dump_table@14 {
			compatible = "qti,msm-imem-mem_dump_table";
			reg = <0x14 4>;
		};

		imem_cache_erp: cache_erp@6a4 {
			compatible = "qti,msm-imem-cache_erp";
			reg = <0x6a4 4>;
+5 −0
Original line number Diff line number Diff line
@@ -186,6 +186,11 @@
		#address-cells = <1>;
		#size-cells = <1>;

		mem_dump_table@14 {
			compatible = "qti,msm-imem-mem_dump_table";
			reg = <0x14 4>;
		};

		boot_stats@6b0 {
			compatible = "qti,msm-imem-boot_stats";
			reg = <0x6b0 32>;
+5 −0
Original line number Diff line number Diff line
@@ -245,6 +245,11 @@
		#address-cells = <1>;
		#size-cells = <1>;

		mem_dump_table@14 {
			compatible = "qti,msm-imem-mem_dump_table";
			reg = <0x14 4>;
		};

		boot_stats@6b0 {
			compatible = "qti,msm-imem-boot_stats";
			reg = <0x6b0 32>;
Loading