From 4e651264c2233dbcabdb8a4db16e45f07e88a133 Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Wed, 21 Oct 2009 19:36:37 +0000 Subject: [PATCH] Fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23311 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/s5l8700.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/export/s5l8700.h b/firmware/export/s5l8700.h index 853b672500..dc03553984 100644 --- a/firmware/export/s5l8700.h +++ b/firmware/export/s5l8700.h @@ -304,8 +304,9 @@ #define TDDATA1 (*(REG32_PTR_T)(0x3C70006C)) /* Data1 Register */ #define TDPRE (*(REG32_PTR_T)(0x3C700070)) /* Pre-scale register */ #define TDCNT (*(REG32_PTR_T)(0x3C700074)) /* Counter register */ -#define USEC_TIMER (((*(REG32_PTR_T)(0x3C700080) << 32) \ - | *(REG32_PTR_T)(0x3C700084)) * 5) /* 64bit 5usec timer */ +#define FIVE_USEC_TIMER ((*(REG32_PTR_T)(0x3C700080) << 32) \ + | *(REG32_PTR_T)(0x3C700084)) /* 64bit 5usec timer */ +#define USEC_TIMER (*(REG32_PTR_T)(0x3C700084) * 5) /* lower 32 bits of the above as a usec timer */ /* 12. NAND FLASH CONTROLER */ #if CONFIG_CPU==S5L8701