summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Mery <amery@geeks.cl>2012-08-08 21:19:11 +0400
committerAlejandro Mery <amery@geeks.cl>2012-08-08 21:19:11 +0400
commitde049eb76c700807009a0149d5e09b180c88fd29 (patch)
tree2bf3f80d64f99c85fd08198ebd7e425a153a8396
parent1db1b0bda2e93f8e1d5b800a971e001aae69478c (diff)
downloadlinux-sunxi-wip/lichee3-sunxi/import-sun5i.tar.xz
sun5i: implement dummy sw_get_chip_id()wip/lichee3-sunxi/import-sun5i
-rw-r--r--arch/arm/mach-sun5i/core.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-sun5i/core.c b/arch/arm/mach-sun5i/core.c
index 2b85cb482de8..362b9b535ce5 100644
--- a/arch/arm/mach-sun5i/core.c
+++ b/arch/arm/mach-sun5i/core.c
@@ -418,6 +418,17 @@ enum sw_ic_ver sw_get_ic_ver(void)
return MAGIC_VER_A;
}
EXPORT_SYMBOL(sw_get_ic_ver);
+
+int sw_get_chip_id(struct sw_chip_id *chip_id)
+{
+ chip_id->sid_rkey0 = 0;
+ chip_id->sid_rkey1 = 1;
+ chip_id->sid_rkey2 = 2;
+ chip_id->sid_rkey3 = 3;
+ return 1;
+}
+EXPORT_SYMBOL(sw_get_chip_id);
+
/**
* Arch Required Implementations
*