u200.c 411 B

123456789101112131415161718192021
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2016 BayLibre, SAS
  4. * Author: Neil Armstrong <narmstrong@baylibre.com>
  5. */
  6. #include <common.h>
  7. #include <dm.h>
  8. #include <asm/io.h>
  9. #include <asm/arch/axg.h>
  10. #include <asm/arch/sm.h>
  11. #include <asm/arch/eth.h>
  12. #include <asm/arch/mem.h>
  13. int misc_init_r(void)
  14. {
  15. meson_eth_init(PHY_INTERFACE_MODE_RMII,
  16. MESON_USE_INTERNAL_RMII_PHY);
  17. return 0;
  18. }