mirror of https://github.com/thesofproject/sof.git
arch: xtensa: remove deprecated stack defines
Removes deprecated stack defines as they are no longer needed. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
4870332719
commit
ededbb65fe
|
@ -1,25 +0,0 @@
|
|||
/* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
* Copyright(c) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* Author: Tomasz Lauda <tomasz.lauda@linux.intel.com>
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file arch/xtensa/smp/include/arch/memory.h
|
||||
* \brief Xtensa SMP memory header file
|
||||
* \authors Tomasz Lauda <tomasz.lauda@linux.intel.com>
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_MEMORY_H__
|
||||
#define __ARCH_MEMORY_H__
|
||||
|
||||
#include <platform/cpu.h>
|
||||
|
||||
/** \brief Stack size. */
|
||||
#define ARCH_STACK_SIZE 0x1000
|
||||
|
||||
/** \brief Stack total size. */
|
||||
#define ARCH_STACK_TOTAL_SIZE (PLATFORM_CORE_COUNT * ARCH_STACK_SIZE)
|
||||
|
||||
#endif
|
|
@ -33,7 +33,6 @@
|
|||
#include <xtensa/coreasm.h>
|
||||
#include "xtos-internal.h"
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
#include <platform/cpu.h>
|
||||
|
||||
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
/* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
* Copyright(c) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* Author: Tomasz Lauda <tomasz.lauda@linux.intel.com>
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file arch/xtensa/up/include/arch/memory.h
|
||||
* \brief Xtensa UP memory header file
|
||||
* \authors Tomasz Lauda <tomasz.lauda@linux.intel.com>
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_MEMORY_H__
|
||||
#define __ARCH_MEMORY_H__
|
||||
|
||||
/** \brief Stack size. */
|
||||
#define ARCH_STACK_SIZE 0x1000
|
||||
|
||||
/** \brief Stack total size. */
|
||||
#define ARCH_STACK_TOTAL_SIZE ARCH_STACK_SIZE
|
||||
|
||||
#endif
|
|
@ -10,7 +10,6 @@
|
|||
#define __PLATFORM_MEMORY_H__
|
||||
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
#include <cavs/memory.h>
|
||||
#include <platform/cpu.h>
|
||||
|
||||
|
@ -304,8 +303,8 @@
|
|||
HEAP_SYS_RUNTIME_S_SIZE))
|
||||
|
||||
/* Stack configuration */
|
||||
#define SOF_STACK_SIZE ARCH_STACK_SIZE
|
||||
#define SOF_STACK_TOTAL_SIZE ARCH_STACK_TOTAL_SIZE
|
||||
#define SOF_STACK_SIZE 0x1000
|
||||
#define SOF_STACK_TOTAL_SIZE (PLATFORM_CORE_COUNT * SOF_STACK_SIZE)
|
||||
|
||||
/* SOF Core S configuration */
|
||||
#define SOF_CORE_S_SIZE \
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#define __PLATFORM_MEMORY_H__
|
||||
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
|
||||
#if !defined(__ASSEMBLER__) && !defined(LINKER)
|
||||
void platform_init_memmap(void);
|
||||
|
@ -132,8 +131,8 @@ void platform_init_memmap(void);
|
|||
#define PLATFORM_HEAP_BUFFER 1
|
||||
|
||||
/* Stack configuration */
|
||||
#define SOF_STACK_SIZE ARCH_STACK_SIZE
|
||||
#define SOF_STACK_TOTAL_SIZE ARCH_STACK_TOTAL_SIZE
|
||||
#define SOF_STACK_SIZE 0x1000
|
||||
#define SOF_STACK_TOTAL_SIZE SOF_STACK_SIZE
|
||||
#define SOF_STACK_BASE (DRAM0_BASE + DRAM0_SIZE)
|
||||
#define SOF_STACK_END (SOF_STACK_BASE - SOF_STACK_TOTAL_SIZE)
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#define __PLATFORM_MEMORY_H__
|
||||
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
#include <cavs/memory.h>
|
||||
#include <platform/cpu.h>
|
||||
|
||||
|
@ -278,8 +277,8 @@
|
|||
HEAP_SYS_RUNTIME_S_SIZE))
|
||||
|
||||
/* Stack configuration */
|
||||
#define SOF_STACK_SIZE ARCH_STACK_SIZE
|
||||
#define SOF_STACK_TOTAL_SIZE ARCH_STACK_TOTAL_SIZE
|
||||
#define SOF_STACK_SIZE 0x1000
|
||||
#define SOF_STACK_TOTAL_SIZE (PLATFORM_CORE_COUNT * SOF_STACK_SIZE)
|
||||
|
||||
/* SOF Core S configuration */
|
||||
#define SOF_CORE_S_SIZE \
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#define __PLATFORM_MEMORY_H__
|
||||
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
|
||||
#if !defined(__ASSEMBLER__) && !defined(LINKER)
|
||||
void platform_init_memmap(void);
|
||||
|
@ -129,8 +128,8 @@ void platform_init_memmap(void);
|
|||
#define PLATFORM_HEAP_BUFFER 1
|
||||
|
||||
/* Stack configuration */
|
||||
#define SOF_STACK_SIZE ARCH_STACK_SIZE
|
||||
#define SOF_STACK_TOTAL_SIZE ARCH_STACK_TOTAL_SIZE
|
||||
#define SOF_STACK_SIZE 0x1000
|
||||
#define SOF_STACK_TOTAL_SIZE SOF_STACK_SIZE
|
||||
#define SOF_STACK_BASE (DRAM0_BASE + DRAM0_SIZE)
|
||||
#define SOF_STACK_END (SOF_STACK_BASE - SOF_STACK_TOTAL_SIZE)
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#define __PLATFORM_MEMORY_H__
|
||||
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
#include <platform/cpu.h>
|
||||
|
||||
#if !defined(__ASSEMBLER__) && !defined(LINKER)
|
||||
|
@ -277,8 +276,8 @@
|
|||
HEAP_SYS_RUNTIME_S_SIZE))
|
||||
|
||||
/* Stack configuration */
|
||||
#define SOF_STACK_SIZE ARCH_STACK_SIZE
|
||||
#define SOF_STACK_TOTAL_SIZE ARCH_STACK_TOTAL_SIZE
|
||||
#define SOF_STACK_SIZE 0x1000
|
||||
#define SOF_STACK_TOTAL_SIZE (PLATFORM_CORE_COUNT * SOF_STACK_SIZE)
|
||||
|
||||
/* SOF Core S configuration */
|
||||
#define SOF_CORE_S_SIZE \
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#define __PLATFORM_MEMORY_H__
|
||||
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
|
||||
/* physical DSP addresses */
|
||||
|
||||
|
@ -139,8 +138,8 @@
|
|||
#define PLATFORM_HEAP_BUFFER 1
|
||||
|
||||
/* Stack configuration */
|
||||
#define SOF_STACK_SIZE ARCH_STACK_SIZE
|
||||
#define SOF_STACK_TOTAL_SIZE ARCH_STACK_TOTAL_SIZE
|
||||
#define SOF_STACK_SIZE 0x1000
|
||||
#define SOF_STACK_TOTAL_SIZE SOF_STACK_SIZE
|
||||
#define SOF_STACK_BASE (SDRAM1_BASE + SDRAM1_SIZE)
|
||||
#define SOF_STACK_END (SOF_STACK_BASE - SOF_STACK_TOTAL_SIZE)
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#define __PLATFORM_MEMORY_H__
|
||||
|
||||
#include <config.h>
|
||||
#include <arch/memory.h>
|
||||
#include <platform/cpu.h>
|
||||
|
||||
#if !defined(__ASSEMBLER__) && !defined(LINKER)
|
||||
|
@ -273,8 +272,8 @@
|
|||
HEAP_SYS_RUNTIME_S_SIZE))
|
||||
|
||||
/* Stack configuration */
|
||||
#define SOF_STACK_SIZE ARCH_STACK_SIZE
|
||||
#define SOF_STACK_TOTAL_SIZE ARCH_STACK_TOTAL_SIZE
|
||||
#define SOF_STACK_SIZE 0x1000
|
||||
#define SOF_STACK_TOTAL_SIZE (PLATFORM_CORE_COUNT * SOF_STACK_SIZE)
|
||||
|
||||
/* SOF Core S configuration */
|
||||
#define SOF_CORE_S_SIZE \
|
||||
|
|
Loading…
Reference in New Issue