mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 14:32:23 +00:00
staging: board: Remove KZM9D board staging code
With the EMMA Mobile USB Gadget staging driver removed, there is no longer any use for the EMEV2 KZM9D board staging code. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Link: https://lore.kernel.org/r/f54fe56524e0266a3c705315f04870988912cfcf.1705932585.git.geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4a46fffc21
commit
cc13301acc
@ -1,4 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
obj-y := board.o
|
||||
obj-$(CONFIG_ARCH_EMEV2) += kzm9d.o
|
||||
obj-$(CONFIG_ARCH_R8A7740) += armadillo800eva.o
|
||||
|
@ -1,26 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Staging board support for KZM9D. Enable not-yet-DT-capable devices here. */
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include "board.h"
|
||||
|
||||
static struct resource usbs1_res[] __initdata = {
|
||||
DEFINE_RES_MEM(0xe2800000, 0x2000),
|
||||
DEFINE_RES_IRQ(159),
|
||||
};
|
||||
|
||||
static void __init kzm9d_init(void)
|
||||
{
|
||||
board_staging_gic_setup_xlate("arm,pl390", 32);
|
||||
|
||||
if (!board_staging_dt_node_available(usbs1_res,
|
||||
ARRAY_SIZE(usbs1_res))) {
|
||||
board_staging_gic_fixup_resources(usbs1_res,
|
||||
ARRAY_SIZE(usbs1_res));
|
||||
platform_device_register_simple("emxx_udc", -1, usbs1_res,
|
||||
ARRAY_SIZE(usbs1_res));
|
||||
}
|
||||
}
|
||||
|
||||
board_staging("renesas,kzm9d", kzm9d_init);
|
Loading…
Reference in New Issue
Block a user