瀏覽代碼

Zoom2 Fix serial gpmc setup

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>
Tom Rix 15 年之前
父節點
當前提交
96a27c6dc2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      board/logicpd/zoom2/zoom2.c

+ 1 - 1
board/logicpd/zoom2/zoom2.c

@@ -129,7 +129,7 @@ int board_init (void)
 
 
 	/* Configure console support on zoom2 */
 	/* Configure console support on zoom2 */
 	gpmc_config = gpmc_serial_TL16CP754C;
 	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);
 			SERIAL_TL16CP754C_BASE, GPMC_SIZE_16M);
 
 
 	/* board id for Linux */
 	/* board id for Linux */