these checks will usefull in finding the integer overflow
in fdt header fields.
(cherry picked from commit b6b7c1e767cd03e34fe835115d01f83d935abf3a)
Change-Id: I8469116124e4c0086885994132345df95bbf3bdc
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
A processor can execute instructions from a memory
region only if the access permissions for its
current state permit read access, and the XN
bit is set to 0.
The domain access is to be set as "clients"
for proper functioning of XN bit.
Change-Id: I86daffa828fa7b2fa365e358ef7042630ab98d60
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
UBI is memory greedy and needs more malloc area
while accessing above 256M of Flash.
Change-Id: I2521eedaf483e104bcb37886003085ed74c8bf0c
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
Updated number of alternate partitions and
alternate partition data structure to match
smem entry.
Change-Id: I62484e369ed3d35037237fde2d71f9af045e438a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
get_ticks() will return the timer counter value.
get_tbclk() will return the timer frequency.
Change-Id: Ib698f1c1d58403ae22381b6de8c6518beb4c34cf
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
Added scm_call wrapper to support fuseipq
command to work with 64 bit scm_call.
Change-Id: Ie1fd2925e9f7ed5b3eb57eb44b1c360d0d7de916
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This patch enables reading soc_id form smem required by
thermal deamon in kernel and patches it to kernel dtb.
Change-Id: If4d68d10e47eeed26a9c2867f40abc18d9027812
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Added device tree to support for HK05 and HK06 boards
based on ipq807x SoC.
Change-Id: I78a49340cbfc6c4f6c4ee5a3171cc1b6dd6ad1ed
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Enabled to set multiple ethernet mac addresses
from ART partition into u-boot environment which
in-turn will be patched-up into the kernel dts.
CONFIG_IPQ_NO_MACS should be set accordingly.
Change-Id: I72d1324789685d25adcb3f5c4fb1b54151098f62
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Added fdt-fixup for patching RPM version string
to kernel device-tree that may be required for
test automation and build component information.
Change-Id: I6dedecbe17ecea1a211e3d0a8d64aa1f3835f821
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Moved properties boot_version and tz_version
to root node to make it compatible with other
board configurations to facilitate consistent
test automation across boards.
Change-Id: I3046a571f75eb5430f4b50b00f9fd8a7467724fe
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Kernel fw_env config has statically defined env size
to 256KB on NAND and eMMC and 64KB on NOR flash which
requires u-boot also to be configutred the same way.
This change configures env to support differnt env sizes
and preserves the APPSBLENV and avoids CRC mismatch.
Change-Id: I55f33c17953beb8e97ebe89f215549b6eefc1a48
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
NAND_CMD_PRG_PAGE_ALL uses the spare data from buffer itself
which is not applicable. The spare area in NAND page for
QPIC are dummy bytes so 0xff should be written to these
spare area. NAND_CMD_PRG_PAGE does the same thing and HLOS
driver uses this command for all page program
operations. The actual spare data is being written along
with every codeword since the codewords size is 516 in which
512 bytes are user data and 4 bytes are spare data.
Change-Id: I5651caf5ea95f046570e8318f59e140398869ece
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>