]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Zoom2 Fix serial gpmc setup
authorTom Rix <Tom.Rix@windriver.com>
Mon, 12 Oct 2009 16:07:40 +0000 (12:07 -0400)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 18 Oct 2009 21:52:53 +0000 (16:52 -0500)
The offset to the chip select is incorrect.

The change 187af954cf7958c24efcf0fd62289bbdb4f1f24e,

omap3: embedd gpmc_cs into gpmc config struct

introduced a problem with the serial gpmc setup.

This patch reverts the chip select to its previous value.

The symptoms of this problem are that the Zoom2
currently hangs.

This was run tested on Zoom2.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
board/logicpd/zoom2/zoom2.c

index d9e2ae5021ef6b02c0ce61dbbcf0826c2a2ddfb4..cd8c9fef1ad52d0db1b03293648b139a579b372b 100644 (file)
@@ -129,7 +129,7 @@ int board_init (void)
 
        /* Configure console support on zoom2 */
        gpmc_config = gpmc_serial_TL16CP754C;
-       enable_gpmc_cs_config(gpmc_config, &gpmc_cfg->cs[4],
+       enable_gpmc_cs_config(gpmc_config, &gpmc_cfg->cs[3],
                        SERIAL_TL16CP754C_BASE, GPMC_SIZE_16M);
 
        /* board id for Linux */