w400.c 349 B

1234567891011121314151617181920
  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 <init.h>
  10. #include <net.h>
  11. #include <asm/io.h>
  12. #include <asm/arch/eth.h>
  13. int misc_init_r(void)
  14. {
  15. meson_generate_serial_ethaddr();
  16. return 0;
  17. }