samsung: board: enable support of multiple board types
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 6 Jun 2014 10:42:41 +0000 (12:42 +0200)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 6 Aug 2014 12:10:25 +0000 (14:10 +0200)
commit2a57731f2f4d73124686a11cca2a1b529cbd7b25
treeefcb16e7cf60723f0186e7a925e2912a90216792
parent10518b53f55c8fff02d8902d18224907c4288077
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.

Change-Id: I43d797e1fcad10674a0f83e7123cfee3381d5a82
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Piotr Wilczek <p.wilczek@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
---
Changes v3:
- change the commit order
- include/samsung/misc.h: add new functions declaration
- update a commit message

Changes v4:
- checkboard(): remove redundant variable

Changes v5:
- board.c: move call to set_board_type() into board_early_init_f()
- misc.h: remove get_board_name() function declaration
board/samsung/common/board.c
include/samsung/misc.h