Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272527
b: refs/heads/master
c: f268885
h: refs/heads/master
i:
  272525: 645913a
  272523: ad58f47
  272519: d5f14e4
  272511: 329fbac
v: v3
  • Loading branch information
Uwe Kleine-König committed Aug 1, 2011
1 parent 7acbd0c commit 6952e7a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 43 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6cafe48a6bfa8934d5564fbf9976a51040dac819
refs/heads/master: f26888549dd68c3902f43f544cddc670135d2477
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mx5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# Object file lists.
obj-y := cpu.o mm.o clock-mx51-mx53.o devices.o ehci.o system.o
obj-y := cpu.o mm.o clock-mx51-mx53.o ehci.o system.o
obj-$(CONFIG_SOC_IMX50) += mm-mx50.o

obj-$(CONFIG_PM) += pm-imx5.o
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/arm/mach-mx5/board-mx51_babbage.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <asm/mach/time.h>

#include "devices-imx51.h"
#include "devices.h"
#include "cpu_op-mx51.h"

#define BABBAGE_USB_HUB_RESET IMX_GPIO_NR(1, 7)
Expand Down Expand Up @@ -176,7 +175,7 @@ static const struct imxi2c_platform_data babbage_i2c_data __initconst = {
.bitrate = 100000,
};

static struct imxi2c_platform_data babbage_hsi2c_data = {
static const struct imxi2c_platform_data babbage_hsi2c_data __initconst = {
.bitrate = 400000,
};

Expand Down Expand Up @@ -381,7 +380,7 @@ static void __init mx51_babbage_init(void)

imx51_add_imx_i2c(0, &babbage_i2c_data);
imx51_add_imx_i2c(1, &babbage_i2c_data);
mxc_register_device(&mxc_hsi2c_device, &babbage_hsi2c_data);
imx51_add_hsi2c(&babbage_hsi2c_data);

if (otg_mode_host)
imx51_add_mxc_ehci_otg(&dr_utmi_config);
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-mx5/devices-imx51.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ extern const struct imx_fsl_usb2_udc_data imx51_fsl_usb2_udc_data;
extern const struct imx_imx_i2c_data imx51_imx_i2c_data[];
#define imx51_add_imx_i2c(id, pdata) \
imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)
#define imx51_add_hsi2c(pdata) \
imx51_add_imx_i2c(2, pdata)

extern const struct imx_imx_ssi_data imx51_imx_ssi_data[];
#define imx51_add_imx_ssi(id, pdata) \
Expand Down
37 changes: 0 additions & 37 deletions trunk/arch/arm/mach-mx5/devices.c

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-mx5/devices.h

This file was deleted.

6 changes: 6 additions & 0 deletions trunk/arch/arm/plat-mxc/devices/platform-imx-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst = {
imx_imx_i2c_data_entry(MX51, _id, _hwid, SZ_4K)
imx51_imx_i2c_data_entry(0, 1),
imx51_imx_i2c_data_entry(1, 2),
{
.id = 2,
.iobase = MX51_HSI2C_DMA_BASE_ADDR,
.iosize = SZ_16K,
.irq = MX51_INT_HS_I2C,
},
};
#endif /* ifdef CONFIG_SOC_IMX51 */

Expand Down

0 comments on commit 6952e7a

Please sign in to comment.