public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 2/2] arm:goni:dfu Add support for DFU at GONI target
Date: Tue, 15 Oct 2013 21:23:05 +0200	[thread overview]
Message-ID: <525D9619.3020900@samsung.com> (raw)
In-Reply-To: <1381769774-10975-2-git-send-email-m.zalega@samsung.com>

Hello Mateusz,

On 10/14/2013 06:56 PM, Mateusz Zalega wrote:
> From: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
>
> Proper adjustment for supporting DFU at GONI target has been made.
> The s5p_goni.h file has been updated. Moreover the code for low level
> USB initialization has been added to GONI board code.
>
> The malloc pool has been enlarged in order to support larger buffer
> sizes needed by DFU implementation.
>
> Change-Id: I1b4953368176e8a7588abb0da37de6321f835698
> Signed-off-by: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
> Tested-by: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
> Tested-by: Mateusz Zalega <m.zalega@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
> Changes since v3:
> - adjusted to match recently accepted USB patches
> ---


> +int board_usb_init(int index, enum board_usb_init_type init)
> +{
> +	debug("USB_udc_probe\n");
> +	s3c_udc_probe(&s5pc110_otg_data);
> +	return 0;
> +}
> +#endif
> +

----- starting from this line of your patch

> +#ifdef CONFIG_USB_GADGET_MASS_STORAGE
> +static int ums_read_sector(struct ums_device *ums_dev,
> +				ulong start, lbaint_t blkcnt, void *buf)


----- with all these lines inside...


> +	ums_board.ums_dev.mmc = mmc;
> +	ums_board.ums_dev.dev_num = dev_num;
> +	ums_board.ums_dev.offset = offset;
> +	ums_board.ums_dev.part_size = part_size;
> +
> +	return &ums_board;
> +}
> +
>   #endif

----- end this line

Will be not needed, because I would like to move ums initialization code 
to Samsung common directory.
Could you wait with this patch please or just don't enable this feature 
on goni at this time? Other way I have to remove those lines in my patch 
set which I'm gonna send tomorrow.


After my ums refactoring patch set this two below lines will be enought 
to enable UMS on goni without ums init code and only with board usb init.

> +#define CONFIG_CMD_USB_MASS_STORAGE
> +#define CONFIG_USB_GADGET_MASS_STORAGE
>
>   #endif	/* __CONFIG_H */
>

Thank you,

-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com

  reply	other threads:[~2013-10-15 19:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 16:56 [U-Boot] [PATCH v4 1/2] arm:goni: Update configuration for goni target Mateusz Zalega
2013-10-14 16:56 ` [U-Boot] [PATCH v4 2/2] arm:goni:dfu Add support for DFU at GONI target Mateusz Zalega
2013-10-15 19:23   ` Przemyslaw Marczak [this message]
2013-10-15 19:04 ` [U-Boot] [PATCH v4 1/2] arm:goni: Update configuration for goni target Przemyslaw Marczak

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=525D9619.3020900@samsung.com \
    --to=p.marczak@samsung.com \
    --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