Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187515
b: refs/heads/master
c: b97235d
h: refs/heads/master
i:
  187513: 9ad2034
  187511: 6506aed
v: v3
  • Loading branch information
Baruch Siach authored and Sascha Hauer committed Jan 14, 2010
1 parent 0749a7b commit f35f5db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27f590258954ea0d22b43e33dd356bc76a8dfe7a
refs/heads/master: b97235dfa1aba54786b19fc53ba026e47be86ac6
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-mx25/mx25pdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,20 @@ static void __init mx25pdk_fec_reset(void)
gpio_set_value(FEC_RESET_B_GPIO, 1);
}

static struct mxc_nand_platform_data mx25pdk_nand_board_info = {
.width = 1,
.hw_ecc = 1,
.flash_bbt = 1,
};

static void __init mx25pdk_init(void)
{
mxc_iomux_v3_setup_multiple_pads(mx25pdk_pads,
ARRAY_SIZE(mx25pdk_pads));

mxc_register_device(&mxc_uart_device0, &uart_pdata);
mxc_register_device(&mxc_usbh2, NULL);
mxc_register_device(&mxc_nand_device, &mx25pdk_nand_board_info);

mx25pdk_fec_reset();
mxc_register_device(&mx25_fec_device, &mx25_fec_pdata);
Expand Down

0 comments on commit f35f5db

Please sign in to comment.