board-openblocks_a6.c 655 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2012 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  3. *
  4. * arch/arm/mach-kirkwood/board-openblocks_a6.c
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #include <linux/kernel.h>
  11. #include <linux/init.h>
  12. #include <linux/mv643xx_eth.h>
  13. #include "common.h"
  14. static struct mv643xx_eth_platform_data openblocks_ge00_data = {
  15. .phy_addr = MV643XX_ETH_PHY_ADDR(0),
  16. };
  17. void __init openblocks_a6_init(void)
  18. {
  19. /*
  20. * Basic setup. Needs to be called early.
  21. */
  22. kirkwood_ge00_init(&openblocks_ge00_data);
  23. }