Skip to contentSkip to conversation

2.0.0 RC7 MACH_TYPE_*NEW*

U-Boot John Jeffers 1 participant 1 message Feb 26, 2009

lore
Share & tools
lore
#0 lore raw

For "2.0.0-rc7-00037-ge983361-dirty" (a fresh git pull) one has to register a MACH_TYPE_??????????? for a new board with a number.

This appears to have been extracted from the Linux kernel traditionally. Who is handing these out for u-boot-v2?

The arm maintainer (I seriously think it is but am not sure.)? In "adding new boards" the .dox file does not address this. I am perfectly prepared to do what is customary here.

Cheers John

~>/u-boot-v2-tng-200902/include/asm-arm/mach-types.h
----------
/*
* This was automagically generated from arch/arm/tools/mach-types!
* Do NOT edit
*/

#ifndef __ASM_ARM_MACH_TYPE_H
#define __ASM_ARM_MACH_TYPE_H

#ifndef __ASSEMBLY__
/* The type of machine we're running on */
extern unsigned int __machine_arch_type;
#endif

/* see arch/arm/kernel/arch.c for a description of these */
#define MACH_TYPE_EBSA110 0
#define MACH_TYPE_RISCPC 1
..........etc....