arch/arm/mach-ixp4xx/ixp4xx-of.c

Source file repositories/reference/linux-study-clean/arch/arm/mach-ixp4xx/ixp4xx-of.c

File Facts

System
Linux kernel
Corpus path
arch/arm/mach-ixp4xx/ixp4xx-of.c
Extension
.c
Size
507 bytes
Lines
23
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/*
 * IXP4xx Device Tree boot support
 */
#include <asm/mach/arch.h>

/*
 * We handle 4 different SoC families. These compatible strings are enough
 * to provide the core so that different boards can add their more detailed
 * specifics.
 */
static const char *ixp4xx_of_board_compat[] = {
	"intel,ixp42x",
	"intel,ixp43x",
	"intel,ixp45x",
	"intel,ixp46x",
	NULL,
};

DT_MACHINE_START(IXP4XX_DT, "IXP4xx (Device Tree)")
	.dt_compat	= ixp4xx_of_board_compat,
MACHINE_END

Annotation

Implementation Notes