]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
avr32: add ATAG_BOARDINFO
authorAndreas Bießmann <biessmann@corscience.de>
Wed, 13 Apr 2011 08:07:35 +0000 (10:07 +0200)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Wed, 13 Apr 2011 13:46:59 +0000 (15:46 +0200)
commit24a1a47562b0fbb97321191dcc3a67b337b20f8f
tree4ca976a647a18658f0f80d9ec5c2856b958d395e
parentc7d876321f4cf252bc70c1995bbc077a65b3af2a
avr32: add ATAG_BOARDINFO

The ATAG_BOARDINFO is intended to hand over the information
bd->bi_board_number from u-boot to the kernel.

This piece of information can be used to implement some kind of board
identification while booting the kernel. Therefore it is placed in .initdata
section and can be accessed via the new symbol board_number only while
initializing the kernel.

Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
arch/avr32/include/asm/setup.h
arch/avr32/kernel/setup.c