Skip to content

Commit

Permalink
ARM: mach-shmobile: ap4evb, mackerel: fixup scif initialisation for z…
Browse files Browse the repository at this point in the history
…boot

* 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 <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
horms authored and pmundt committed May 24, 2011
1 parent 8b1aaea commit f61831e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ WAIT 1, 0xFE40009C
ED 0xFE400354, 0x01AD8002

LIST "SCIF0 - Serial port for earlyprintk"
EB 0xE6053098, 0x11
EB 0xE6053098, 0xe1
EW 0xE6C40000, 0x0000
EB 0xE6C40004, 0x19
EW 0xE6C40008, 0x3000
EW 0xE6C40008, 0x0030
3 changes: 1 addition & 2 deletions arch/arm/mach-shmobile/include/mach/head-mackerel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ WAIT 1, 0xFE40009C
ED 0xFE400354, 0x01AD8002

LIST "SCIF0 - Serial port for earlyprintk"
EB 0xE6053098, 0x11
EB 0xE6053098, 0xe1
EW 0xE6C40000, 0x0000
EB 0xE6C40004, 0x19
EW 0xE6C40008, 0x3000
EW 0xE6C40008, 0x0030

0 comments on commit f61831e

Please sign in to comment.