zephyr/soc/riscv/riscv-ite/it8xxx2/soc.h

19 lines
451 B
C

#ifndef __RISCV_ITE_SOC_H_
#define __RISCV_ITE_SOC_H_
/*
* Copyright (c) 2020 ITE Corporation. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
*/
#include <soc_common.h>
#include <devicetree.h>
#define UART_REG_ADDR_INTERVAL 1
/* lib-c hooks required RAM defined variables */
#define RISCV_RAM_BASE CONFIG_SRAM_BASE_ADDRESS
#define RISCV_RAM_SIZE KB(CONFIG_SRAM_SIZE)
#endif /* __RISCV_ITE_SOC_H_ */