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

Commit 396c6084 authored by Abhimanyu Kapur's avatar Abhimanyu Kapur
Browse files

msm: scm-boot: update scm boot data structure



The scm call to set the secondary boot address uses
a non-explicitly-sized type in the buffer structure
passed on to thesecure world. Fix this by using
explicitly sized types; otherwise the size of the
structure fields and the structure will vary between
32 and 64 bit platforms.

Change-Id: I339342dafb79f9ec05c152a7e12479bb094b79f6
Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent c4251672
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@
int scm_set_boot_addr(phys_addr_t addr, unsigned int flags)
{
	struct {
		unsigned int flags;
		unsigned long addr;
		u32 flags;
		u32 addr;
	} cmd;

	cmd.addr = addr;