/*1* Copyright (c) 2018 naehrwert2* Copyright (c) 2018-2024 CTCaer3*4* This program is free software; you can redistribute it and/or modify it5* under the terms and conditions of the GNU General Public License,6* version 2, as published by the Free Software Foundation.7*8* This program is distributed in the hope it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13* You should have received a copy of the GNU General Public License14* along with this program. If not, see <http://www.gnu.org/licenses/>.15*/1617#ifndef _HW_INIT_H_18#define _HW_INIT_H_1920#include <utils/types.h>2122#define BL_MAGIC_CRBOOT_SLD 0x30444C53 // SLD0, seamless display type 0.23#define BL_MAGIC_L4TLDR_SLD 0x31444C53 // SLD1, seamless display type 1.2425extern u32 hw_rst_status;26extern u32 hw_rst_reason;2728void hw_init();29void hw_deinit(bool coreboot, u32 magic);30void hw_config_arbiter(bool reset);31u32 hw_get_chip_id();3233#endif343536