armv8: ls2080a: Remove debug server support
Subsystems (2)
PATCH 1/1 armv8: ls2080a: Remove debug server support
Debug server feature has been dropped from roadmap.
Signed-off-by York Sun <[email protected]>
---
README | 6 - arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 5 - .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 9 - board/freescale/ls2080a/ls2080a.c | 5 - board/freescale/ls2080aqds/ls2080aqds.c | 4 - board/freescale/ls2080ardb/ls2080ardb.c | 4 - drivers/misc/Makefile | 1 - drivers/misc/fsl_debug_server.c | 250 --------------------- include/configs/ls2080a_common.h | 8 +- include/fsl_debug_server.h | 32 --- 10 files changed, 1 insertion(+), 323 deletions(-) delete mode 100644 drivers/misc/fsl_debug_server.c delete mode 100644 include/fsl_debug_server.h
README +0 -6
@@ -4946,12 +4946,6 @@ The Freescale Layerscape Debug Server Support supports the loading of "Debug Server firmware" and triggering SP boot-rom. This firmware often needs to be loaded during U-Boot booting. -- CONFIG_FSL_DEBUG_SERVER - Enable the Debug Server for Layerscape SoCs. - -- CONFIG_SYS_DEBUG_SERVER_DRAM_BLOCK_MIN_SIZE - Define minimum DDR size required for debug server image - - CONFIG_SYS_MC_RSV_MEM_ALIGN Define alignment of reserved memory MC requires
arch/arm/cpu/armv8/fsl-layerscape/cpu.c +0 -5
@@ -18,7 +18,6 @@#include <asm/arch/mp.h> #endif #include <fm_eth.h> -#include <fsl_debug_server.h> #include <fsl-mc/fsl_mc.h> #ifdef CONFIG_FSL_ESDHC #include <fsl_esdhc.h>
@@ -457,10 +456,6 @@ phys_size_t board_reserve_ram_top(phys_size_t ram_size)#ifdef CONFIG_SYS_MEM_TOP_HIDE #error CONFIG_SYS_MEM_TOP_HIDE not to be used together with this function#endif -/* Carve the Debug Server private DRAM block from the end of DRAM */ -#ifdef CONFIG_FSL_DEBUG_SERVER - ram_top -=debug_server_get_dram_block_size (); -#endif /* Carve the MC private DRAM block from the end of DRAM */ #ifdef CONFIG_FSL_MC_ENET
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h +0 -9
@@ -33,15 +33,6 @@#define CONFIG_SYS_FSL_WRIOP1_MDIO2 (CONFIG_SYS_FSL_WRIOP1_ADDR + 0x17000)#define CONFIG_SYS_FSL_LSCH3_SERDES_ADDR (CONFIG_SYS_IMMR + 0xEA0000) -/* SP (Cortex-A5) related */ -#define CONFIG_SYS_FSL_SP_ADDR (CONFIG_SYS_IMMR + 0x00F00000) -#define CONFIG_SYS_FSL_SP_VSG_GIC_ADDR (CONFIG_SYS_FSL_SP_ADDR) -#define CONFIG_SYS_FSL_SP_VSG_GIC_VIGR1 (CONFIG_SYS_FSL_SP_ADDR) -#define CONFIG_SYS_FSL_SP_VSG_GIC_VIGR2 \ - (CONFIG_SYS_FSL_SP_ADDR + 0x0008) -#define CONFIG_SYS_FSL_SP_LOOPBACK_DUART \ - (CONFIG_SYS_FSL_SP_ADDR + 0x1000) -#define CONFIG_SYS_FSL_DCSR_DDR_ADDR 0x70012c000ULL#define CONFIG_SYS_FSL_DCSR_DDR2_ADDR 0x70012d000ULL#define CONFIG_SYS_FSL_DCSR_DDR3_ADDR 0x700132000ULL
board/freescale/ls2080a/ls2080a.c +0 -5
@@ -12,7 +12,6 @@#include <asm/io.h> #include <fdt_support.h> #include <libfdt.h> -#include <fsl_debug_server.h> #include <fsl-mc/fsl_mc.h> #include <environment.h> #include <asm/arch/soc.h>
@@ -60,10 +59,6 @@ int dram_init(void)#if defined(CONFIG_ARCH_MISC_INIT )int arch_misc_init (void ) { -#ifdef CONFIG_FSL_DEBUG_SERVER -debug_server_init (); -#endif -return 0 ; }#endif
board/freescale/ls2080aqds/ls2080aqds.c +0 -4
@@ -12,7 +12,6 @@#include <asm/io.h> #include <fdt_support.h> #include <libfdt.h> -#include <fsl_debug_server.h> #include <fsl-mc/fsl_mc.h> #include <environment.h> #include <i2c.h>
@@ -265,9 +264,6 @@ int dram_init(void)#if defined(CONFIG_ARCH_MISC_INIT )int arch_misc_init (void ) { -#ifdef CONFIG_FSL_DEBUG_SERVER -debug_server_init (); -#endif #ifdef CONFIG_FSL_CAAM sec_init ();#endif
board/freescale/ls2080ardb/ls2080ardb.c +0 -4
@@ -13,7 +13,6 @@#include <hwconfig.h> #include <fdt_support.h> #include <libfdt.h> -#include <fsl_debug_server.h> #include <fsl-mc/fsl_mc.h> #include <environment.h> #include <i2c.h>
@@ -229,9 +228,6 @@ int dram_init(void)#if defined(CONFIG_ARCH_MISC_INIT )int arch_misc_init (void ) { -#ifdef CONFIG_FSL_DEBUG_SERVER -debug_server_init (); -#endif #ifdef CONFIG_FSL_CAAM sec_init ();#endif
drivers/misc/Makefile +0 -1
@@ -16,7 +16,6 @@ obj-$(CONFIG_CROS_EC_LPC) += cros_ec_lpc.o obj-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o obj-$(CONFIG_CROS_EC_SANDBOX) += cros_ec_sandbox.o obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o -obj-$(CONFIG_FSL_DEBUG_SERVER) += fsl_debug_server.o endif obj-$(CONFIG_FSL_IIM) += fsl_iim.o obj-$(CONFIG_GPIO_LED) += gpio_led.o
drivers/misc/fsl_debug_server.c deleted +0 -250
250 lines not on this page · raw message
include/configs/ls2080a_common.h +1 -7
@@ -153,11 +153,6 @@ unsigned long long get_qixis_addr(void);#define CONFIG_SYS_NAND_BASE 0x530000000ULL#define CONFIG_SYS_NAND_BASE_PHYS 0x30000000 -/* Debug Server firmware */ -#define CONFIG_FSL_DEBUG_SERVER -/* 2 sec timeout */ -#define CONFIG_SYS_DEBUG_SERVER_TIMEOUT (2 * 1000 * 1000) -/* MC firmware */ #define CONFIG_FSL_MC_ENET /* TODO Actual DPL max length needs to be confirmed with the MC FW team */
@@ -175,8 +170,7 @@ unsigned long long get_qixis_addr(void);* It will be used by MC and Debug Server. The MC region must be * 512MB aligned, so the min size to hide is 512MB. */ -#if defined(CONFIG_FSL_MC_ENET ) || defined(CONFIG_FSL_DEBUG_SERVER ) -#define CONFIG_SYS_DEBUG_SERVER_DRAM_BLOCK_MIN_SIZE (254UL * 1024 * 1024) +#ifdef CONFIG_FSL_MC_ENET #define CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE (512UL * 1024 * 1024)#define CONFIG_SYS_MC_RSV_MEM_ALIGN (512UL * 1024 * 1024)#endif
include/fsl_debug_server.h deleted +0 -32
@@ -1,32 +0,0 @@ -/* -* Copyright (C) 2014 Freescale Semiconductor -* -* SPDX-License-Identifier: GPL-2.0+ -*/ - -#ifndef __FSL_DBG_SERVER_H__ -#define __FSL_DBG_SERVER_H__ - -#include <asm/io.h> -#include <common.h> - -/* -* Define Debug Server firmware version information -*/ - -/* Major version number: incremented on API compatibility changes */ -#define DEBUG_SERVER_VER_MAJOR 0 - -/* Minor version number: incremented on API additions (backward -* compatible); reset when major version is incremented. -*/ -#define DEBUG_SERVER_VER_MINOR 1 - -#define DEBUG_SERVER_INIT_STATUS (1 << 0) -#define DEBUG_SERVER_INIT_STATUS_MASK (0x00000001) - -int debug_server_init (void ); -unsigned long debug_server_get_dram_block_size (void ); - -#endif /* __FSL_DBG_SERVER_H__ */ -
Signature · 1 line
2.7.4
york sun
AppliedPATCH 1/1 armv8: ls2080a: Remove debug server support
Quoted 4 lines · York Sun
Debug server feature has been dropped from roadmap.
Signed-off-by York Sun <[email protected]>---
Applied to fsl-qoriq master. Awaiting upstream.
York