// SPDX-License-Identifier: GPL-2.0+ /* * board/renesas/ebisu/ebisu.c * This file is Ebisu board support. * * Copyright (C) 2018 Marek Vasut */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include DECLARE_GLOBAL_DATA_PTR; void s_init(void) { } int board_early_init_f(void) { return 0; } int board_init(void) { /* adress of boot parameters */ gd->bd->bi_boot_params = CONFIG_SYS_TEXT_BASE + 0x50000; return 0; } #define RST_BASE 0xE6160000 #define RST_CA53RESCNT (RST_BASE + 0x44) #define RST_CA53_CODE 0x5A5A000F void reset_cpu(ulong addr) { writel(RST_CA53_CODE, RST_CA53RESCNT); }