minnowmax.c 496 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2015, Google, Inc
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #include <common.h>
  7. #include <asm/ibmpc.h>
  8. #include <asm/pnp_def.h>
  9. #include <netdev.h>
  10. #include <smsc_lpc47m.h>
  11. #define SERIAL_DEV PNP_DEV(0x2e, 4)
  12. DECLARE_GLOBAL_DATA_PTR;
  13. int board_early_init_f(void)
  14. {
  15. lpc47m_enable_serial(SERIAL_DEV, UART0_BASE);
  16. return 0;
  17. }
  18. void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
  19. {
  20. return;
  21. }
  22. int board_eth_init(bd_t *bis)
  23. {
  24. return pci_eth_init(bis);
  25. }