am335x: make get_board_rev() function weak
authorIgor Grinberg <grinberg@compulab.co.il>
Wed, 5 Nov 2014 11:29:54 +0000 (13:29 +0200)
committerTom Rini <trini@ti.com>
Thu, 6 Nov 2014 16:04:40 +0000 (11:04 -0500)
commit52d848695c36d2b6ce688d1403653653e82583b4
tree8ad52977dc040c956ced846f269b3d52bf366682
parent60ca5ad4b6687f8d7605d81869890bda4772c9bf
am335x: make get_board_rev() function weak

Current get_board_rev() function returns a hard coded value which is
obviously incorrect for the majority of boards.
Allow boards to provide a correct implementation by making this
function weak.
In addition open code the trivial and useless BOARD_REV_ID define and
adjust the comment.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/am33xx/sys_info.c
arch/arm/include/asm/arch-am33xx/sys_proto.h