]> git.ipfire.org Git - thirdparty/u-boot.git/blame - board/mediatek/mt7622/mt7622_rfb.c
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[thirdparty/u-boot.git] / board / mediatek / mt7622 / mt7622_rfb.c
CommitLineData
c7fbc620
SS
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2018 MediaTek Inc.
4 * Author: Sam Shih <sam.shih@mediatek.com>
5 */
6
d678a59d 7#include <common.h>
c7fbc620 8#include <config.h>
09140113 9#include <env.h>
691d719d 10#include <init.h>
401d1c4f 11#include <asm/global_data.h>
c7fbc620
SS
12
13DECLARE_GLOBAL_DATA_PTR;
14
15int board_init(void)
16{
c7fbc620
SS
17 return 0;
18}
19
20int board_late_init(void)
21{
22 gd->env_valid = 1; //to load environment variable from persistent store
23 env_relocate();
24 return 0;
25}