]> Zhao Yanbai Git Server - minix.git/commit
arm:determine board_id using bootargs.board_name 91/1191/2
authorKees Jongenburger <kees.jongenburger@gmail.com>
Fri, 13 Dec 2013 13:00:06 +0000 (14:00 +0100)
committerKees Jongenburger <kees.jongenburger@gmail.com>
Tue, 17 Dec 2013 10:32:38 +0000 (11:32 +0100)
commit3a2fb1ae8ca0e3a1d317b796e59c378e34e67765
tree86808fe5e4fc54087d411267fe074f4642c19f48
parent8c02dd7b2a4755bf3d154e84a34b5bf06c5ecacc
arm:determine board_id using bootargs.board_name

On startup determine the board_id based on the board name
passed from u-boot. This code also export "board" for use
by  userland using sysenv.

Change-Id: I1064a49497c82b06f50d98650132bc0a7f543568
include/minix/board.h
kernel/arch/earm/pre_init.c
kernel/arch/i386/pre_init.c
kernel/main.c