soc/intel_adsp: Remove adsp/io.h

More dead code.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2021-12-11 11:40:49 -08:00 committed by Maureen Helm
parent 06e661487a
commit 9ac2c214eb
4 changed files with 1 additions and 32 deletions

View file

@ -14,9 +14,7 @@
#include <soc.h>
#ifndef CONFIG_SOC_INTEL_S1000
#include <adsp/io.h>
#else
#ifdef CONFIG_SOC_INTEL_S1000
#include <soc/shim.h>
#endif

View file

@ -6,7 +6,6 @@
#include <stddef.h>
#include <stdint.h>
#include <adsp/io.h>
#include <soc.h>
#include <arch/xtensa/cache.h>
#include <cavs-shim.h>

View file

@ -1,27 +0,0 @@
/*
* Copyright(c) 2016 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
*/
#ifndef __INCLUDE_IO__
#define __INCLUDE_IO__
#include <stdint.h>
#include <sys/sys_io.h>
#include <arch/common/sys_io.h>
static inline uint32_t io_reg_read(uint32_t reg)
{
return sys_read32(reg);
}
static inline void io_reg_write(uint32_t reg, uint32_t val)
{
/* Note: Parameters in different order */
sys_write32(val, reg);
}
#endif

View file

@ -20,7 +20,6 @@ LOG_MODULE_REGISTER(soc_mp, CONFIG_SOC_LOG_LEVEL);
#include <cavs-idc.h>
#include <soc.h>
#include <arch/xtensa/cache.h>
#include <adsp/io.h>
#include <cavs-shim.h>
#include <cavs-mem.h>
#include <cpu_init.h>