summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2014-11-05 13:29:54 +0200
committerTom Rini <trini@ti.com>2014-11-06 11:04:40 -0500
commit52d848695c36d2b6ce688d1403653653e82583b4 (patch)
tree8ad52977dc040c956ced846f269b3d52bf366682 /arch/arm/include/asm
parent60ca5ad4b6687f8d7605d81869890bda4772c9bf (diff)
downloadblackbird-obmc-uboot-52d848695c36d2b6ce688d1403653653e82583b4.tar.gz
blackbird-obmc-uboot-52d848695c36d2b6ce688d1403653653e82583b4.zip
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>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-am33xx/sys_proto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h
index 33a82fca98..7eacf27a93 100644
--- a/arch/arm/include/asm/arch-am33xx/sys_proto.h
+++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h
@@ -14,8 +14,6 @@
#include <asm/ti-common/sys_proto.h>
#include <asm/arch/cpu.h>
-#define BOARD_REV_ID 0x0
-
u32 get_cpu_rev(void);
u32 get_sysboot_value(void);
OpenPOWER on IntegriCloud