summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/am33xx/sys_info.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-11-07 16:18:35 -0500
committerTom Rini <trini@ti.com>2014-11-07 16:18:35 -0500
commitcfa1bd0774eafcba4791bad4d66f01b8f0dc6f94 (patch)
tree13740fe096447814d65871bc9c15bbac26b0e854 /arch/arm/cpu/armv7/am33xx/sys_info.c
parent11ada9225a16ed2d8ddbf0715a2416245a777cbc (diff)
parent40bbd52a79bdf2175a2e44272bead2bc194a3293 (diff)
downloadu-boot-imx-cfa1bd0774eafcba4791bad4d66f01b8f0dc6f94.zip
u-boot-imx-cfa1bd0774eafcba4791bad4d66f01b8f0dc6f94.tar.gz
u-boot-imx-cfa1bd0774eafcba4791bad4d66f01b8f0dc6f94.tar.bz2
Merge git://git.denx.de/u-boot-ti
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx/sys_info.c')
-rw-r--r--arch/arm/cpu/armv7/am33xx/sys_info.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/sys_info.c b/arch/arm/cpu/armv7/am33xx/sys_info.c
index 2ce682f..781d83f 100644
--- a/arch/arm/cpu/armv7/am33xx/sys_info.c
+++ b/arch/arm/cpu/armv7/am33xx/sys_info.c
@@ -18,6 +18,7 @@
#include <asm/arch/cpu.h>
#include <asm/arch/clock.h>
#include <power/tps65910.h>
+#include <linux/compiler.h>
struct ctrl_stat *cstat = (struct ctrl_stat *)CTRL_BASE;
@@ -51,11 +52,11 @@ u32 get_cpu_type(void)
/**
* get_board_rev() - setup to pass kernel board revision information
- * returns:(bit[0-3] sub version, higher bit[7-4] is higher version)
+ * returns: 0 for the ATAG REVISION tag value.
*/
-u32 get_board_rev(void)
+u32 __weak get_board_rev(void)
{
- return BOARD_REV_ID;
+ return 0;
}
/**