ARC: [plat-eznps]: Drop support for EZChip NPS platform
NPS customers are no longer doing active development, as evident from rand config build failures reported in recent times, so drop support for NPS platform. Tested-by: kernel test robot <lkp@intel.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
@@ -14,9 +14,6 @@
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/sched/debug.h>
|
||||
#ifdef CONFIG_ARC_PLAT_EZNPS
|
||||
#include <plat/ctop.h>
|
||||
#endif
|
||||
|
||||
#define KSP_WORD_OFF ((TASK_THREAD + THREAD_KSP) / 4)
|
||||
|
||||
@@ -67,17 +64,10 @@ __switch_to(struct task_struct *prev_task, struct task_struct *next_task)
|
||||
*/
|
||||
#ifndef CONFIG_SMP
|
||||
"st %2, [@_current_task] \n\t"
|
||||
#else
|
||||
#ifdef CONFIG_ARC_PLAT_EZNPS
|
||||
"lr r24, [%4] \n\t"
|
||||
#ifndef CONFIG_EZNPS_MTM_EXT
|
||||
"lsr r24, r24, 4 \n\t"
|
||||
#endif
|
||||
#else
|
||||
"lr r24, [identity] \n\t"
|
||||
"lsr r24, r24, 8 \n\t"
|
||||
"bmsk r24, r24, 7 \n\t"
|
||||
#endif
|
||||
"add2 r24, @_current_task, r24 \n\t"
|
||||
"st %2, [r24] \n\t"
|
||||
#endif
|
||||
@@ -115,9 +105,6 @@ __switch_to(struct task_struct *prev_task, struct task_struct *next_task)
|
||||
|
||||
: "=r"(tmp)
|
||||
: "n"(KSP_WORD_OFF), "r"(next), "r"(prev)
|
||||
#ifdef CONFIG_ARC_PLAT_EZNPS
|
||||
, "i"(CTOP_AUX_LOGIC_GLOBAL_ID)
|
||||
#endif
|
||||
: "blink"
|
||||
);
|
||||
|
||||
|
@@ -29,8 +29,6 @@ static void __init arc_set_early_base_baud(unsigned long dt_root)
|
||||
else if (of_flat_dt_is_compatible(dt_root, "snps,arc-sdp") ||
|
||||
of_flat_dt_is_compatible(dt_root, "snps,hsdk"))
|
||||
arc_base_baud = 33333333; /* Fixed 33MHz clk (AXS10x & HSDK) */
|
||||
else if (of_flat_dt_is_compatible(dt_root, "ezchip,arc-nps"))
|
||||
arc_base_baud = 800000000; /* Fixed 800MHz clk (NPS) */
|
||||
else
|
||||
arc_base_baud = 50000000; /* Fixed default 50MHz */
|
||||
}
|
||||
|
@@ -116,17 +116,6 @@ void arch_cpu_idle(void)
|
||||
:"I"(arg)); /* can't be "r" has to be embedded const */
|
||||
}
|
||||
|
||||
#elif defined(CONFIG_EZNPS_MTM_EXT) /* ARC700 variant in NPS */
|
||||
|
||||
void arch_cpu_idle(void)
|
||||
{
|
||||
/* only the calling HW thread needs to sleep */
|
||||
__asm__ __volatile__(
|
||||
".word %0 \n"
|
||||
:
|
||||
:"i"(CTOP_INST_HWSCHD_WFT_IE12));
|
||||
}
|
||||
|
||||
#else /* ARC700 */
|
||||
|
||||
void arch_cpu_idle(void)
|
||||
@@ -278,10 +267,6 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
|
||||
*/
|
||||
regs->status32 = STATUS_U_MASK | STATUS_L_MASK | ISA_INIT_STATUS_BITS;
|
||||
|
||||
#ifdef CONFIG_EZNPS_MTM_EXT
|
||||
regs->eflags = 0;
|
||||
#endif
|
||||
|
||||
fpu_init_task(regs);
|
||||
|
||||
/* bogus seed values for debugging */
|
||||
|
Reference in New Issue
Block a user