]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board/t1040qds: Enable memory reset control
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Thu, 26 Dec 2013 07:10:55 +0000 (12:40 +0530)
committerYork Sun <yorksun@freescale.com>
Thu, 2 Jan 2014 22:10:14 +0000 (14:10 -0800)
Define QIXIS_RST_FORCE_MEM to reset on-board DDR-DIMM before start
accessing it.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
board/freescale/t1040qds/t1040qds.c
include/configs/T1040QDS.h

index 2aa176c7a295d01e6161e99215691c85bb6384a5..de3ea5c2aa27abee534eb4679aa55dd42bb07a73 100644 (file)
@@ -239,3 +239,8 @@ void qixis_dump_switch(void)
                printf("SW%d = (0x%02x)\n", i, QIXIS_READ(cms[1]));
        }
 }
+
+int board_need_mem_reset(void)
+{
+       return 1;
+}
index 8ecf188bd338ac12e13bea28d073932f6029b5f1..7d0bc043f99b4f77912d886150e33000732c60a5 100644 (file)
@@ -233,6 +233,7 @@ unsigned long get_board_ddr_clk(void);
 #define QIXIS_RCFG_CTL_RECONFIG_IDLE   0x20
 #define QIXIS_RCFG_CTL_RECONFIG_START  0x21
 #define QIXIS_RCFG_CTL_WATCHDOG_ENBLE  0x08
+#define        QIXIS_RST_FORCE_MEM             0x01
 
 #define CONFIG_SYS_CSPR3_EXT   (0xf)
 #define CONFIG_SYS_CSPR3       (CSPR_PHYS_ADDR(QIXIS_BASE_PHYS) \