ARM: mach-shmobile: ap4evb, mackerel: fixup scif initialisation for zboot
authorSimon Horman <horms@verge.net.au>
Wed, 27 Apr 2011 03:17:15 +0000 (03:17 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 03:15:20 +0000 (12:15 +0900)
commitf61831ee61525a82e382b600622c3b35671a92f2
tree590672722d861fb1bb5cb5dfa5be5f63ededc802
parent8b1aaeaf54f1bcaa0bbec6bb170db367c998d27c
ARM: mach-shmobile: ap4evb, mackerel: fixup scif initialisation for zboot

* Set receive enable and transmit enable bits of SCASCR0 (E6C400089).
  Values previously written to this register was bogus.

  Curiously earlyprintk works with the previous code.

* Remove duplicate initialisation of GPIO port 152, SCIFA0_TXD (0xE6053098).
  This should have no effect other than to very slightly reduce the amount of
  code.

Reported-by: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
arch/arm/mach-shmobile/include/mach/head-mackerel.txt