]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fixes the crippled console output on PortuxG20.
authorMarkus Hubig <mhubig@imko.de>
Thu, 16 Aug 2012 08:22:09 +0000 (08:22 +0000)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 4 Sep 2012 20:06:19 +0000 (22:06 +0200)
commit7d899c14cc1842004e5f94a376082e7b6cf5988d
treea1784e8587164304a61e362ec5ac57e5783af660
parente23e5eeeb85e0f98ca51ec8532c02a52a3e8c78b
Fixes the crippled console output on PortuxG20.

In order to use the serial interface on the PortuxG20 we need to enable the
level converter first by setting the PC9 pin to high. The level converter needs
some time to settle so we have to use the mdelay() function to wait for some
time. Unfortunately we have no timers available at board_early_init_f() so we
enable the serial output early within board_postclk_init().

Now the U-Boot output looks fine:

| U-Boot 2012.07-00132-gaf1a3b0-dirty (Aug 16 2012 - 18:21:32)
|
| CPU: AT91SAM9G20
| Crystal frequency:   18.432 MHz
| CPU clock        :  396.288 MHz
| Master clock     :  132.096 MHz
| DRAM:  64 MiB
| WARNING: Caches not enabled
| NAND:  128 MiB
| In:    serial
| Out:   serial
| Err:   serial
| Net:   macb0
| Hit any key to stop autoboot:  0

Signed-off-by: Markus Hubig <mhubig@imko.de>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
board/taskit/stamp9g20/stamp9g20.c
include/configs/stamp9g20.h