86xx: remove the second DDR LAW setting for mpc8641hpcn
authorDave Liu <daveliu@freescale.com>
Tue, 28 Oct 2008 09:46:35 +0000 (17:46 +0800)
committerJon Loeliger <jdl@freescale.com>
Thu, 30 Oct 2008 15:30:18 +0000 (10:30 -0500)
The DDR1 LAW will precedence the DDR2 LAW, so remove
the second DDR LAW.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Acked-by: Becky Bruce <becky.bruce@freescale.com>
board/freescale/mpc8641hpcn/law.c

index 182b4c58498eec57b1e9ab5d115d58130a654c64..8e137289df6cded1520eaf359db45b5c69c51f1b 100644 (file)
@@ -55,9 +55,6 @@ struct law_entry law_table[] = {
        SET_LAW(CONFIG_SYS_PCI1_IO_PHYS, LAW_SIZE_16M, LAW_TRGT_IF_PCI_1),
        SET_LAW(CONFIG_SYS_PCI2_IO_PHYS, LAW_SIZE_16M, LAW_TRGT_IF_PCI_2),
        SET_LAW((CONFIG_SYS_FLASH_BASE & 0xfe000000), LAW_SIZE_32M, LAW_TRGT_IF_LBC),
-#if !defined(CONFIG_SPD_EEPROM)
-       SET_LAW(CONFIG_SYS_DDR_SDRAM_BASE, LAW_SIZE_256M, LAW_TRGT_IF_DDR_2),
-#endif
        SET_LAW(CONFIG_SYS_RIO_MEM_PHYS, LAW_SIZE_512M, LAW_TRGT_IF_RIO)
 };