[PATCH] feature_list: a way to pass hardware info to the kernel

Vicente Bergas vicencb at gmail.com
Thu Jan 17 20:31:21 EST 2013


The feature list is a non-standard alternative to the device tree
to pass the hardware description to the kernel.
This is the way used by Archos on it's android kernel, so it's required
to boot such a kernel.

This patch is submitted with two intentions:
 1) receive feedback
 2) request for inclusion
The feedback is always appreciated.
Regarding inclusion, I know this is a very Archos specific patch, so I'll
understand if it's rejected.

Vicente Bergas (1):
  feature_list: a way to pass hardware info to the kernel

 arch/arm/Kconfig                           |  12 +
 arch/arm/boards/archosg9/Makefile          |   1 +
 arch/arm/boards/archosg9/archos_features.c | 196 ++++++++++++++++
 arch/arm/boards/archosg9/archos_features.h |   6 +
 arch/arm/boards/archosg9/board.c           |   2 +
 arch/arm/configs/archosg9_defconfig        |   1 +
 arch/arm/include/asm/armlinux.h            |   9 +
 arch/arm/include/asm/feature_list.h        | 346 +++++++++++++++++++++++++++++
 arch/arm/include/asm/setup.h               |  23 +-
 arch/arm/lib/armlinux.c                    |  38 +++-
 10 files changed, 627 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/boards/archosg9/archos_features.c
 create mode 100644 arch/arm/boards/archosg9/archos_features.h
 create mode 100644 arch/arm/include/asm/feature_list.h

-- 
1.8.1.1




More information about the barebox mailing list