]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Merge branch 'master' of git://git.denx.de/u-boot-arm
authorWolfgang Denk <wd@denx.de>
Mon, 12 Dec 2011 06:56:41 +0000 (07:56 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 12 Dec 2011 06:56:41 +0000 (07:56 +0100)
* 'master' of git://git.denx.de/u-boot-arm:
  arm: add __aeabi_unwind_cpp_pr1() function to avoid linker complaints
  post: fix compile issue for post tests on kirkwood

arch/arm/lib/eabi_compat.c
post/post.c

index e1b87bebadbf727dc425ce7c1899e1cb6896a879..2028dbd715b97c6454e1807717a0008332c3e76b 100644 (file)
@@ -23,3 +23,7 @@ int raise (int signum)
 void __aeabi_unwind_cpp_pr0(void)
 {
 };
+
+void __aeabi_unwind_cpp_pr1(void)
+{
+};
index 45e08f8ccc76c2b2c57e1786007d26abb5f4dcdb..d62f10aa539eb0f3ce49b207aa0059f076892fc3 100644 (file)
@@ -495,7 +495,7 @@ void post_reloc(void)
  */
 unsigned long post_time_ms(unsigned long base)
 {
-#if defined(CONFIG_PPC) || defined(CONFIG_ARM)
+#if defined(CONFIG_PPC) || defined(CONFIG_ARM) && !defined(CONFIG_KIRKWOOD)
        return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ)
                - base;
 #else