mirror of
https://github.com/revyos/th1520-vendor-uboot.git
synced 2026-09-16 20:32:09 +02:00
32 lines
560 B
C
32 lines
560 B
C
/*
|
|
* Copyright (C) 2017-2020 Alibaba Group Holding Limited
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <cpu.h>
|
|
#include <watchdog.h>
|
|
#include <command.h>
|
|
#include <netdev.h>
|
|
#include <asm/io.h>
|
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
__weak void board_reset(void)
|
|
{
|
|
/* true empty function for defining weak symbol */
|
|
}
|
|
|
|
int do_reset(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
|
{
|
|
board_reset();
|
|
return 0;
|
|
}
|
|
|
|
void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaaddr)
|
|
{
|
|
/* TODO: Implement this */
|
|
while (1);
|
|
}
|