public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] sandbox: add a sandbox timer and basic test
Date: Fri, 30 Oct 2015 07:27:58 +0800	[thread overview]
Message-ID: <5632AB7E.9030600@wytron.com.tw> (raw)
In-Reply-To: <CAPnjgZ0F7kj1t7CY2-HKD2OYU1guE_h+rhZMerbgciQk+a_sCA@mail.gmail.com>

Hi Simon,

On 10/30/2015 01:16 AM, Simon Glass wrote:
> Hi Thomas,
>
> On 22 October 2015 at 07:25, Thomas Chou <thomas@wytron.com.tw> wrote:
>> Add a sandbox timer which get time from host os and a basic
>> test.
>>
>> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
>> ---
>>   arch/sandbox/dts/sandbox.dts                     |  4 ++
>>   board/sandbox/sandbox.c                          |  2 +
>>   common/board_f.c                                 |  2 +-
>>   configs/sandbox_defconfig                        |  2 +
>>   doc/device-tree-bindings/timer/sandbox_timer.txt |  7 ++++
>>   drivers/timer/Kconfig                            |  7 ++++
>>   drivers/timer/Makefile                           |  1 +
>>   drivers/timer/sandbox_timer.c                    | 53 ++++++++++++++++++++++++
>>   include/configs/sandbox.h                        |  2 +
>>   test/dm/Makefile                                 |  1 +
>>   test/dm/timer.c                                  | 27 ++++++++++++
>
> Can you please split out the board_f.c change into a separate commit?

But the sandbox will fail (with seg fault or hang) without the change in 
board_f.c . Is this alright?


>> +static const struct udevice_id sandbox_timer_ids[] = {
>> +       { .compatible = "sandbox,timer", },
>
> You can drop the penultimate comma.
>

OK.

Thanks a lot for your review.

Best regards,
Thomas

  reply	other threads:[~2015-10-29 23:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 13:25 [U-Boot] [PATCH] sandbox: add a sandbox timer and basic test Thomas Chou
2015-10-29 17:16 ` Simon Glass
2015-10-29 23:27   ` Thomas Chou [this message]
2015-10-29 23:43     ` Simon Glass
2015-10-30  6:08       ` Thomas Chou
2015-10-30  7:35 ` [U-Boot] [PATCH v2 1/2] common/board_f.c: move mark_bootstage after arch_cpu_init_dm Thomas Chou
2015-10-30  7:35   ` [U-Boot] [PATCH v2 2/2] sandbox: add a sandbox timer and basic test Thomas Chou
2015-11-06 23:58     ` Simon Glass
2015-11-06  3:15   ` [U-Boot] [PATCH v2 1/2] common/board_f.c: move mark_bootstage after arch_cpu_init_dm Simon Glass
2015-11-06  4:08     ` Thomas Chou
2015-11-06 23:58       ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5632AB7E.9030600@wytron.com.tw \
    --to=thomas@wytron.com.tw \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox