From e62137c4a117e98c359da5d99d7394d3718a9acf Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Wed, 2 Nov 2016 18:07:38 +1100 Subject: 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 Signed-off-by: Stewart Smith --- asm/misc.S | 8 -------- 1 file changed, 8 deletions(-) (limited to 'asm') 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 - -- cgit v1.1