mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-02 17:13:28 +08:00
microblaze: Guard do_reset by CONFIG_SYSRESET
sysreset uclass have own do_reset function which should be used instead of board/platform specific. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
4ab11ecaaa
commit
d6c856c008
@ -58,6 +58,7 @@ int dram_init(void)
|
||||
return 0;
|
||||
};
|
||||
|
||||
#if !defined(CONFIG_SYSRESET) || defined(CONFIG_SPL_BUILD)
|
||||
int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
@ -76,6 +77,7 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int gpio_init(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user