[U-Boot] [U-Boot 2/3] cmd: add rockusb command

Simon Glass sjg at chromium.org
Wed Mar 22 13:05:44 UTC 2017


Hi Eddie,

On 20 March 2017 at 02:14, Eddie Cai <eddie.cai.linux at gmail.com> wrote:
> Hi Simon
>
> 2017-03-20 10:29 GMT+08:00 Simon Glass <sjg at chromium.org>:
>>
>> Hi Eddie,
>>
>> On 15 March 2017 at 01:56, Eddie Cai <eddie.cai.linux at gmail.com> wrote:
>> >
>> > this patch add rockusb command. the usage is
>> >         rockusb <USB_controller> [<devtype>] <devnum>
>> > e.g. rockusb 0 mmc 0
>> >
>> > Signed-off-by: Eddie Cai <eddie.cai.linux at gmail.com>
>> > ---
>> >  cmd/Kconfig       | 12 +++++++++
>> >  cmd/Makefile      |  1 +
>> >  cmd/rockusb.c     | 79
>> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> >  include/rockusb.h | 13 +++++++++
>> >  4 files changed, 105 insertions(+)
>> >  create mode 100644 cmd/rockusb.c
>> >  create mode 100644 include/rockusb.h
>>

[..]

>>
>> > +       "rockusb <USB_controller> [<devtype>] <devnum>  e.g. rockusb 0
>> > mmc 0\n"
>> > +       "    devtype defaults to mmc"
>> > +);
>> > diff --git a/include/rockusb.h b/include/rockusb.h
>> > new file mode 100644
>> > index 0000000..cdea63d
>> > --- /dev/null
>> > +++ b/include/rockusb.h
>>
>> Can this go in include/asm instead?
>
> do you mean include/asm-generic ? may i know why ?

No I was thinking of arch/arm/include/asm/arch-rockchip. Because this
is a rockchip-specific file, isn't it?

Regards,
Simon


More information about the U-Boot mailing list