提交 1a717c00 编写于 作者: M Manjunath Hadli 提交者: Sekhar Nori

davinci: move DM64XX_VDD3P3V_PWDN to devices.c

Move the definition of DM64XX_VDD3P3V_PWDN from hardware.h
to devices.c since it is used only there.

This also helps rid hardware.h of platform private stuff.
Signed-off-by: NManjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: NSekhar Nori <nsekhar@ti.com>
上级 8ac764e3
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
#define DM365_MMCSD0_BASE 0x01D11000 #define DM365_MMCSD0_BASE 0x01D11000
#define DM365_MMCSD1_BASE 0x01D00000 #define DM365_MMCSD1_BASE 0x01D00000
/* System control register offsets */
#define DM64XX_VDD3P3V_PWDN 0x48
static struct resource i2c_resources[] = { static struct resource i2c_resources[] = {
{ {
.start = DAVINCI_I2C_BASE, .start = DAVINCI_I2C_BASE,
......
...@@ -21,9 +21,6 @@ ...@@ -21,9 +21,6 @@
*/ */
#define DAVINCI_SYSTEM_MODULE_BASE 0x01C40000 #define DAVINCI_SYSTEM_MODULE_BASE 0x01C40000
/* System control register offsets */
#define DM64XX_VDD3P3V_PWDN 0x48
/* /*
* I/O mapping * I/O mapping
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册