]> git.dujemihanovic.xyz Git - u-boot.git/commit
samsung: board: enable support of multiple board types
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 1 Sep 2014 11:50:49 +0000 (13:50 +0200)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 5 Sep 2014 04:58:50 +0000 (13:58 +0900)
commitd50c41efcd6621481dbf4ff25331badf980cb429
tree1de6196815f76e73a469ed16c8b8af40560efc27
parent1fb4dab2a1444df7f0a8d1cc3887a7e6605635f5
samsung: board: enable support of multiple board types

This change adds declaration of functions:
- set_board_type() - called at board_early_init_f()
- get_board_type() - called at checkboard()

For supporting multiple board types in a one config - it is welcome
to display the current board model. This is what get_board_type()
should return.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/common/board.c
include/samsung/misc.h