]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: rmobile: Add missing IPSR18 bits to R8A7795 PFC
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 28 Aug 2017 12:13:11 +0000 (14:13 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 4 Sep 2017 22:51:39 +0000 (07:51 +0900)
commit522708f3d2c3b520eb9d198b85533a86eaaa3801
tree4731f1cbb8a0d699737c6a4f62cfdc430d897b01
parent5753cd23193daeb5a4e8df12333fd824e88e04db
ARM: rmobile: Add missing IPSR18 bits to R8A7795 PFC

The IPSR18 register bits were missing from the R8A7795 ES2.0+ PFC
tables, which triggered a BUG() in sh_pfc driver. This is because
of an out-of-bounds access to the pinmux_gpios[] array in the PFC
tables, which was too short due to the missing IPSR18 bits.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/arm/mach-rmobile/pfc-r8a7795.c