Add volatile to DDRPLLCTL1
authorPrabhu Kuttiyam <pkuttiyam@ti.com>
Tue, 22 Nov 2011 22:04:05 +0000 (17:04 -0500)
committerPrabhu Kuttiyam <pkuttiyam@ti.com>
Tue, 22 Nov 2011 22:04:05 +0000 (17:04 -0500)
src/hw/ddrs/emif4/emif4.c

index 7b82f8c9709771c1131ad472909fd9ce532566ff..747de7542cfb5db7b3864ed8fa3b67c97d7f9cf2 100755 (executable)
@@ -20,7 +20,7 @@
 #define KICK1_UNLOCK           0x95a4f1e0
 
 #define DDR3PLLCTL0            *(volatile unsigned int*)(CHIP_LEVEL_REG + 0x0330)
 #define KICK1_UNLOCK           0x95a4f1e0
 
 #define DDR3PLLCTL0            *(volatile unsigned int*)(CHIP_LEVEL_REG + 0x0330)
-#define DDR3PLLCTL1            *(unsigned int*)(CHIP_LEVEL_REG + 0x0334)
+#define DDR3PLLCTL1            *(volatile unsigned int*)(CHIP_LEVEL_REG + 0x0334)
 
 // DDR3 definitions
 #define DDR_BASE_ADDR 0x21000000
 
 // DDR3 definitions
 #define DDR_BASE_ADDR 0x21000000