[U-Boot] [PATCH 1/2] EXYNOS: Export timer_get_us() to get microsecond timer

Simon Glass sjg at chromium.org
Sat May 11 17:08:16 CEST 2013


On Fri, Mar 22, 2013 at 6:45 PM, Simon Glass <sjg at chromium.org> wrote:
> Hi Rajeshwari,
>
> On Fri, Mar 22, 2013 at 5:28 AM, Rajeshwari Shinde
> <rajeshwari.s at samsung.com> wrote:
>> This function, if implemented by the board, provides a microsecond
>> timer. The granularity may be larger than 1us if hardware does not
>> support this.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>
>> ---
>>  include/common.h |    8 ++++++++
>>  1 files changed, 8 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/common.h b/include/common.h
>> index 4ad17ea..0c21edc 100644
>> --- a/include/common.h
>> +++ b/include/common.h
>> @@ -558,6 +558,14 @@ void ddr_enable_ecc(unsigned int dram_size);
>>  #endif
>>  #endif
>>
>> +#if defined CONFIG_EXYNOS5
>
> I don't think we need the #ifdef. If some boards don't have then that is OK.

Further to this, I suppose we can always remove the #ifdef when other
boards define the function. So:

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list