w400.c 326 B

123456789101112131415161718
  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 <env_internal.h>
  9. #include <asm/io.h>
  10. #include <asm/arch/eth.h>
  11. int misc_init_r(void)
  12. {
  13. meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
  14. return 0;
  15. }