Update renesas platform to not rely on undefined overflow behaviourThis consists of ensuring that the left operand of each shift isunsigned when the operation might overflow into the sign bit.Ch
Update renesas platform to not rely on undefined overflow behaviourThis consists of ensuring that the left operand of each shift isunsigned when the operation might overflow into the sign bit.Change-Id: I51278beacbe6da79853c3f0f0f94cd806fc9652cSigned-off-by: Justin Chadwell <justin.chadwell@arm.com>
show more ...
rcar_gen3: drivers: cpld: fix power-off on resetMethod cpld_reset_cpu of bl31 is called from the Linux kernel and usesGPIO6, GPIO2 pins as SPI bus lines to control the CPLD device. But in thekern
rcar_gen3: drivers: cpld: fix power-off on resetMethod cpld_reset_cpu of bl31 is called from the Linux kernel and usesGPIO6, GPIO2 pins as SPI bus lines to control the CPLD device. But in thekernel GPIO6_8 pin are initialized to work in interrupt mode instead ofthe input/output mode. This leads to the fact that the SPI bus becomesnon-functional. In this patch we switch the GPIO6_8 pin back to theinput-output mode.Signed-off-by: Sergii Boryshchenko <sergii.boryshchenko@globallogic.com>Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
rcar_gen3: drivers: cpld: Move rcar_cpld_reset_cpu() into headerMove the rcar_cpld_reset_cpu() function into header file and zap the externs.Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.
rcar_gen3: drivers: cpld: Move rcar_cpld_reset_cpu() into headerMove the rcar_cpld_reset_cpu() function into header file and zap the externs.Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- inclu
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- include/lib/el3_runtime/${ARCH}The reason for this change is that having a global namespace forincludes isn't a good idea. It defeats one of the advantages of havingfolders and it introduces problems that are sometimes subtle (becauseyou may not know the header you are actually including if there are twoof them).For example, this patch had to be created because two headers werecalled the same way: e0ea0928d5b7 ("Fix gpio includes of mt8173 platformto avoid collision."). More recently, this patch has had similarproblems: 46f9b2c3a282 ("drivers: add tzc380 support").This problem was introduced in commit 4ecca33988b9 ("Move include andsource files to logical locations"). At that time, there weren't toomany headers so it wasn't a real issue. However, time has shown thatthis creates problems.Platforms that want to preserve the way they include headers may add theremoved paths to PLAT_INCLUDES, but this is discouraged.Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8fSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
rcar_gen3: drivers: cpldSigned-off-by: ldts <jramirez@baylibre.com>