mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
29746f48d1
This platform has been obsoleted and was only available inside of ST-Ericsson, no users of this code are left in the world. This deletes the core U5500 support entirely in the same manner as the obsoleted U8500 silicon was previously deleted. The cpu_is_u5500() macros that can read out the CPU ID is left until the next kernel cycle, this makes it possible to merge deletion of dependent drivers without breakage. This also has the upside of removing the mailbox driver which was our only driver that was outside the drivers/* hiearchy, now the machine directory only handles machines and nothing else. Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Cc: Rabin Vincent <rabin.vincent@stericsson.com> Cc: Jonas Aberg <jonas.aberg@stericsson.com> Cc: Per Forlin <per.forlin@stericsson.com> Cc: Ulf Hansson <ulf.hansson@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
40 lines
1018 B
ArmAsm
40 lines
1018 B
ArmAsm
/*
|
|
* Debugging macro include header
|
|
*
|
|
* Copyright (C) 2009 ST-Ericsson
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
*/
|
|
#include <mach/hardware.h>
|
|
|
|
#if CONFIG_UX500_DEBUG_UART > 2
|
|
#error Invalid Ux500 debug UART
|
|
#endif
|
|
|
|
/*
|
|
* DEBUG_LL only works if only one SOC is built in. We don't use #else below
|
|
* in order to get "__UX500_UART redefined" warnings if more than one SOC is
|
|
* built, so that there's some hint during the build that something is wrong.
|
|
*/
|
|
|
|
#ifdef CONFIG_UX500_SOC_DB8500
|
|
#define __UX500_UART(n) U8500_UART##n##_BASE
|
|
#endif
|
|
|
|
#ifndef __UX500_UART
|
|
#error Unknown SOC
|
|
#endif
|
|
|
|
#define UX500_UART(n) __UX500_UART(n)
|
|
#define UART_BASE UX500_UART(CONFIG_UX500_DEBUG_UART)
|
|
|
|
.macro addruart, rp, rv, tmp
|
|
ldr \rp, =UART_BASE @ no, physical address
|
|
ldr \rv, =IO_ADDRESS(UART_BASE) @ yes, virtual address
|
|
.endm
|
|
|
|
#include <asm/hardware/debug-pl01x.S>
|