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

Commit ed7fcc39 authored by Maria Yu's avatar Maria Yu
Browse files

fdt: Add correct return for early_init_dt_scan_memory



For currently if return 0 it will search the whole
device tree blob for all device type memory. It will
affect the unnecessary boot up time.

Change-Id: I688b54eda224b744bbc7e706f8b70cccdf8cc38c
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent 1a6f8ce5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1037,7 +1037,7 @@ int __init early_init_dt_scan_memory(unsigned long node, const char *uname,
				base, base + size);
				base, base + size);
	}
	}


	return 0;
	return 1;
}
}


/*
/*