aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2016-11-02 18:07:38 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-02 18:24:09 +1100
commite62137c4a117e98c359da5d99d7394d3718a9acf (patch)
tree7528f0189065b812a0c919d8396780bd7cdaeddc /asm
parent76c5eb99a6e8356ffd7479ec810d48c466dd6907 (diff)
downloadskiboot-e62137c4a117e98c359da5d99d7394d3718a9acf.zip
skiboot-e62137c4a117e98c359da5d99d7394d3718a9acf.tar.gz
skiboot-e62137c4a117e98c359da5d99d7394d3718a9acf.tar.bz2
mambo: Convert RTC read from asm to C
Also moves some code around to ensure things are defined before they are used. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/misc.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/asm/misc.S b/asm/misc.S
index be87fbe..1d9170b 100644
--- a/asm/misc.S
+++ b/asm/misc.S
@@ -50,11 +50,3 @@ _mcount:
mflr %r4
b __mcount_stack_check
#endif
-
-.global mambo_get_time
-mambo_get_time:
-#define SIM_GET_TIME_CODE 70
- li %r3,SIM_GET_TIME_CODE
- .long 0x000eaeb0
- blr
-