siemens: cosmetic: remove unused and rename defines
authorEgli, Samuel <samuel.egli@siemens.com>
Thu, 24 Apr 2014 15:57:52 +0000 (17:57 +0200)
committerTom Rini <trini@ti.com>
Tue, 13 May 2014 23:42:59 +0000 (19:42 -0400)
For dxr2 board DXR2_IOCTRL_VAL is set by data in EEPROM. In pxm2
board it does not make sense to have dxr2 as prefix. Replace it with
more meaningful DDR prefix.

Signed-off-by: Samuel Egli <samuel.egli@siemens.com>
Cc: Pascal Bach <pascal.bach@siemens.com>
Cc: Roger Meier <r.meier@siemens.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
board/siemens/pxm2/board.c
include/configs/dxr2.h
include/configs/pxm2.h

index 98083d52cd9d6fc163de36998d13236dbc45c00d..64e69dc93ddc9f9823508f1a0427f5ac25ad8189 100644 (file)
@@ -70,11 +70,11 @@ struct cmd_control pxm2_ddr3_cmd_ctrl_data = {
 };
 
 const struct ctrl_ioregs ioregs = {
-       .cm0ioctl               = DXR2_IOCTRL_VAL,
-       .cm1ioctl               = DXR2_IOCTRL_VAL,
-       .cm2ioctl               = DXR2_IOCTRL_VAL,
-       .dt0ioctl               = DXR2_IOCTRL_VAL,
-       .dt1ioctl               = DXR2_IOCTRL_VAL,
+       .cm0ioctl               = DDR_IOCTRL_VAL,
+       .cm1ioctl               = DDR_IOCTRL_VAL,
+       .cm2ioctl               = DDR_IOCTRL_VAL,
+       .dt0ioctl               = DDR_IOCTRL_VAL,
+       .dt1ioctl               = DDR_IOCTRL_VAL,
 };
 
        config_ddr(DDR_PLL_FREQ, &ioregs, &pxm2_ddr3_data,
index 75f7812e7d6e8aa20c0f6a8d17edd900822fc874..4612f858efd3dc867b475d1965286b7d7642e1fe 100644 (file)
@@ -20,7 +20,6 @@
 #include "siemens-am33x-common.h"
 
 #define CONFIG_SYS_MPUCLK      275
-#define DXR2_IOCTRL_VAL        0x18b
 #define DDR_PLL_FREQ   303
 #undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 
index 6276d43395ea0534f42f67d34af0d7475d435662..d75d5629639e71756c263d813534f410081bdabf 100644 (file)
@@ -21,7 +21,7 @@
 #include "siemens-am33x-common.h"
 
 #define CONFIG_SYS_MPUCLK      720
-#define DXR2_IOCTRL_VAL                0x18b
+#define DDR_IOCTRL_VAL         0x18b
 #define DDR_PLL_FREQ           266
 
 #define BOARD_DFU_BUTTON_GPIO  59