|
@@ -18,6 +18,7 @@
|
|
#include <asm/arch/cpu.h>
|
|
#include <asm/arch/cpu.h>
|
|
#include <asm/arch/clock.h>
|
|
#include <asm/arch/clock.h>
|
|
#include <power/tps65910.h>
|
|
#include <power/tps65910.h>
|
|
|
|
+#include <linux/compiler.h>
|
|
|
|
|
|
struct ctrl_stat *cstat = (struct ctrl_stat *)CTRL_BASE;
|
|
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
|
|
* 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;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|