summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2011-04-12 23:25:41 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-18 07:56:54 +0200
commit24890f11980eb70d835ca7e0b00d32284d8f546c (patch)
treecac4db47fedfc656a6236f7a978a4e70ae436ab9 /arch/avr32/include
parenta950c81851dbe128176859bfebbc2cf51955daed (diff)
downloadblackbird-obmc-uboot-24890f11980eb70d835ca7e0b00d32284d8f546c.tar.gz
blackbird-obmc-uboot-24890f11980eb70d835ca7e0b00d32284d8f546c.zip
avr32: add ATAG_BOARDINFO
This patch adds a new ATAG_BORADINFO to U-Boot. This tag is intended to hand over the bd->bi_board_number to the linux kernel for early stage board information like a board revision or other kind of board specific decisions necessary before the linux peripherial drivers are up. Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Diffstat (limited to 'arch/avr32/include')
-rw-r--r--arch/avr32/include/asm/setup.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/setup.h b/arch/avr32/include/asm/setup.h
index e6ef8d6b50..7f5d883442 100644
--- a/arch/avr32/include/asm/setup.h
+++ b/arch/avr32/include/asm/setup.h
@@ -107,6 +107,13 @@ struct tag_ethernet {
#define AETH_INVALID_PHY 0xff
+/* board information information */
+#define ATAG_BOARDINFO 0x54410008
+
+struct tag_boardinfo {
+ u32 board_number;
+};
+
struct tag {
struct tag_header hdr;
union {
@@ -115,6 +122,7 @@ struct tag {
struct tag_cmdline cmdline;
struct tag_clock clock;
struct tag_ethernet ethernet;
+ struct tag_boardinfo boardinfo;
} u;
};
OpenPOWER on IntegriCloud