[U-Boot] [PATCH] mmc: postponed needless timer initialization

2014-04-29 Thread Mateusz Zalega
mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Change-Id: Iec694abe3315d146d35dc130ad80b73dffd0983b Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com --- Detached from earlier DFU, MMC, Gadget, Goni, misc. series

[U-Boot] [PATCH] common: fixed linker-list example

2014-04-29 Thread Mateusz Zalega
Last argument shouldn't be there. Change-Id: Ie227f4bee2c542b15c1a7089894532366ec89a1d Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com --- Detached from earlier DFU, MMC, Gadget, Goni, misc. series because of lack of relevance

[U-Boot] [PATCH v2] common: fixed linker-list example

2014-04-29 Thread Mateusz Zalega
Last argument shouldn't be there. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com --- Detached from earlier DFU, MMC, Gadget, Goni, misc. series because of lack of relevance to other patches. v2: - deleted change-id line from

[U-Boot] [PATCH v2] mmc: postponed needless timer initialization

2014-04-29 Thread Mateusz Zalega
mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com --- Detached from earlier DFU, MMC, Gadget, Goni, misc. series because of lack of relevance to other patches. v2

[U-Boot] [PATCH] ARM: Samsung: s5p_goni: maintainer update

2014-04-29 Thread Mateusz Zalega
Because I'm leaving Samsung Electronics, I won't have access to their developer hardware anymore. Przemyslaw Marczak will take over my responsibilities. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com

[U-Boot] [PATCH v5 02/12] part: header fix

2014-04-28 Thread Mateusz Zalega
Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since

[U-Boot] [PATCH v5 01/12] mmc: mmc header fix

2014-04-28 Thread Mateusz Zalega
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v5 08/12] USB: gadget: added a saner gadget downloader registration API

2014-04-28 Thread Mateusz Zalega
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Marek Vasut ma...@denx.de

[U-Boot] [PATCH v5 00/12] DFU, MMC, Gadget, Goni, misc.

2014-04-28 Thread Mateusz Zalega
] --- Mateusz Zalega (12): mmc: mmc header fix part: header fix usb: dfu: fix boards wo USB cable detection dfu: mmc: raw data write fix dfu: mmc: change offset base handling ums: always initialize mmc before ums_disk_init() am335x: dfu: disable DFU in am335x_evm SPL build USB: gadget: added

[U-Boot] [PATCH v5 03/12] usb: dfu: fix boards wo USB cable detection

2014-04-28 Thread Mateusz Zalega
, continues as if the cable was connected. CONFIG_USB_CABLE_CHECK was removed. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes since v4: - removed CONFIG_USB_CABLE_CHECK - moved implementation from usb.h (reserved

[U-Boot] [PATCH v5 09/12] arm: goni: Update configuration for Goni target

2014-04-28 Thread Mateusz Zalega
Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since v1: - reordered --- include/configs/s5p_goni.h | 56 +- 1 file changed

[U-Boot] [PATCH v5 11/12] arm: goni: enable GPT command

2014-04-28 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since v1: - reordered --- include/configs/s5p_goni.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index f97b52d..c52a00a 100644

[U-Boot] [PATCH v5 06/12] ums: always initialize mmc before ums_disk_init()

2014-04-28 Thread Mateusz Zalega
In cases when MMC hadn't been initialized before, ie. by the user or other subsystem, it was still uninitialized while UMS media capacity check, leading to broken ums command. UMS has to initialize resources it uses. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com

[U-Boot] [PATCH v5 12/12] arm: goni: enable USB Mass Storage

2014-04-28 Thread Mateusz Zalega
UMS-related defines were added to Samsung Goni config header. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since v1: - reordered --- include/configs/s5p_goni.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/s5p_goni.h

[U-Boot] [PATCH v5 04/12] dfu: mmc: raw data write fix

2014-04-28 Thread Mateusz Zalega
-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Tom Rini tr...@ti.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since v4: - added more detailed commit message - converted to C90-style - split

[U-Boot] [PATCH v5 05/12] dfu: mmc: change offset base handling

2014-04-28 Thread Mateusz Zalega
Previously offsets handled by dfu_fill_entity_mmc(), defined in boards' CONFIG_DFU_ALT were treated as hexadecimal regardless of their prefix, which sometimes led to confusion. This patch forces usage of explicit numerical base prefixes. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc

[U-Boot] [PATCH v5 07/12] am335x: dfu: disable DFU in am335x_evm SPL build

2014-04-28 Thread Mateusz Zalega
Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Tom Rini tr...@ti.com Reviewed-by: Lukasz Majewski l.majew...@samsung.com --- Changes since v2: - none --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2

[U-Boot] [PATCH v5 10/12] arm: goni: dfu: Add support for DFU to Goni target

2014-04-28 Thread Mateusz Zalega
. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

Re: [U-Boot] [PATCH v4 09/13] USB: gadget: added a saner gadget downloader registration API

2014-04-16 Thread Mateusz Zalega
: +static inline struct g_dnl_bind_callback * g_dnl_bind_callback_end(void) ERROR: open brace '{' following struct go on the same line #842: FILE: include/g_dnl.h:32: +struct g_dnl_bind_callback +{ ack -- Mateusz Zalega Samsung RD Institute Poland

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-04-15 Thread Mateusz Zalega
anymore, now that -next is out. Please ack applicable USB patches on the next patchset version or propose a different solution. Regards, -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

[U-Boot] [PATCH v4 01/13] mmc: mmc header fix

2014-04-15 Thread Mateusz Zalega
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v4 04/13] usb: dfu: fix boards wo USB cable detection

2014-04-15 Thread Mateusz Zalega
Former usb_cable_connected() patch broke compilation of boards which do not support this feature. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Minkyu Kang mk7.k...@samsung.com --- common/cmd_usb_mass_storage.c | 2

[U-Boot] [PATCH v4 06/13] dfu: mmc: raw data write fix

2014-04-15 Thread Mateusz Zalega
() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- drivers/dfu/dfu_mmc.c| 106

[U-Boot] [PATCH v4 03/13] common: fixed linker-list example

2014-04-15 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/linker_lists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linker_lists.h b/include/linker_lists.h index

[U-Boot] [PATCH v4 11/13] arm: goni: dfu: Add support for DFU to Goni target

2014-04-15 Thread Mateusz Zalega
. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v4 09/13] USB: gadget: added a saner gadget downloader registration API

2014-04-15 Thread Mateusz Zalega
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Minkyu

[U-Boot] [PATCH v4 05/13] mmc: postponed needless timer initialization

2014-04-15 Thread Mateusz Zalega
mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com Cc: Minkyu Kang mk7.k...@samsung.com --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions

[U-Boot] [PATCH v4 00/13] DFU, MMC, Gadget, Goni, misc.

2014-04-15 Thread Mateusz Zalega
attention - rebased v3: - previous version of the ums patch introduced unused variable warnings - const attribute of function argument broke existing interface in one of MMC patches - grouped patches related to common topics --- Mateusz Zalega (13): mmc: mmc header fix part: header fix common

[U-Boot] [PATCH v4 02/13] part: header fix

2014-04-15 Thread Mateusz Zalega
Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/part.h

[U-Boot] [PATCH v4 10/13] arm: goni: Update configuration for Goni target

2014-04-15 Thread Mateusz Zalega
Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 56 +- 1 file changed, 30 insertions(+), 26 deletions

[U-Boot] [PATCH v4 12/13] arm: goni: enable GPT command

2014-04-15 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index f97b52d..c52a00a 100644 --- a/include/configs/s5p_goni.h

[U-Boot] [PATCH v4 07/13] ums: always initialize mmc before ums_disk_init()

2014-04-15 Thread Mateusz Zalega
In some cases MMC was still uninitialized while media capacity check, leading to broken ums command. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v4 08/13] am335x: dfu: disable DFU in am335x_evm SPL build

2014-04-15 Thread Mateusz Zalega
Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2

[U-Boot] [PATCH v4 13/13] arm: goni: enable USB Mass Storage

2014-04-15 Thread Mateusz Zalega
UMS-related defines were added to Samsung Goni config header. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-04-11 Thread Mateusz Zalega
. Not exactly unrelated, most of it should be applied in this particular order. It would be less chaotic had it been accepted in one piece. btw. please keep custodians on CC of the respective patches. OK Regards, -- Mateusz Zalega Samsung RD Institute Poland

Re: [U-Boot] [PATCH] board: samsung: delete unused source files

2014-04-11 Thread Mateusz Zalega
On 03/31/14 06:05, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/goni/mem_setup.S | 249 - board/samsung/smdkc100

[U-Boot] [PATCH v3 02/13] part: header fix

2014-03-31 Thread Mateusz Zalega
Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/part.h | 1 + 1 file changed, 1

[U-Boot] [PATCH v3 00/13] DFU, MMC, Gadget, Goni, misc.

2014-03-31 Thread Mateusz Zalega
previous Goni configuration patches - disabled DFU in TI's am335x SPL build due to insufficient SRAM capacity v2: - fixed issues which came to [Marek Vasut]'s attention - rebased --- Mateusz Zalega (13): mmc: mmc header fix part: header fix arm:goni: Update configuration for goni target dfu

[U-Boot] [PATCH v3 05/13] am335x: dfu: disable DFU in am335x_evm SPL build

2014-03-31 Thread Mateusz Zalega
Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Lukasz Majewski l.majew...@samsung.com --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH v3 09/13] arm:goni: enable USB Mass Storage

2014-03-31 Thread Mateusz Zalega
UMS-related defines were added to Samsung Goni config header. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index

[U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-03-31 Thread Mateusz Zalega
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- common

[U-Boot] [PATCH v3 12/13] ums: always initialize mmc before ums_disk_init()

2014-03-31 Thread Mateusz Zalega
In some cases MMC was still uninitialized while media capacity check, leading to broken ums command. Tested on Samsung Goni. Change-Id: I4b86c2c59e430fb8b55272ea14f00316d8cb3dca Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski

[U-Boot] [PATCH v3 03/13] arm:goni: Update configuration for goni target

2014-03-31 Thread Mateusz Zalega
Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@gmail.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 56 +- 1 file changed, 30 insertions(+), 26 deletions

[U-Boot] [PATCH v3 13/13] common: fixed linker-list example

2014-03-31 Thread Mateusz Zalega
Change-Id: Id1bab29ec026d83f7e811ba82802aad33f77bea0 Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com --- include/linker_lists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linker_lists.h b/include

[U-Boot] [PATCH v3 10/13] dfu:mmc: raw data write fix

2014-03-31 Thread Mateusz Zalega
() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- drivers/dfu/dfu_mmc.c| 106

[U-Boot] [PATCH v3 07/13] arm:goni:dfu Add support for DFU to Goni target

2014-03-31 Thread Mateusz Zalega
. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v3 01/13] mmc: mmc header fix

2014-03-31 Thread Mateusz Zalega
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v3 08/13] arm:goni: enable GPT command

2014-03-31 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index f97b52d..c52a00a 100644 --- a/include/configs/s5p_goni.h

[U-Boot] [PATCH v3 04/13] dfu: fix boards wo USB cable detection

2014-03-31 Thread Mateusz Zalega
Former usb_cable_connected() patch broke compilation of boards which do not support this feature. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common

[U-Boot] [PATCH v3 11/13] mmc: postponed needless timer initialization

2014-03-31 Thread Mateusz Zalega
mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Change-Id: Ib4e0f5a04316c604e6a77a0679d42ff61d5641d2 Signed-off-by: Mateusz Zalega m.zal...@samsung.com --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c b

Re: [U-Boot] [PATCH v2 06/12] USB: gadget: added a saner gadget downloader registration API

2014-02-06 Thread Mateusz Zalega
On 02/05/14 19:00, Marek Vasut wrote: On Wednesday, February 05, 2014 at 01:40:27 PM, Mateusz Zalega wrote: [...] Are these two new functions called from multiple places at all? If not, just inline these ll_foo() calls and be done with it. FYI you can also make macros for these to avoid

Re: [U-Boot] [PATCH v2 06/12] USB: gadget: added a saner gadget downloader registration API

2014-02-05 Thread Mateusz Zalega
On 02/05/14 08:13, Marek Vasut wrote: On Tuesday, February 04, 2014 at 06:02:38 PM, Mateusz Zalega wrote: Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz

[U-Boot] [PATCH v2 00/12] Series v2.

2014-02-04 Thread Mateusz Zalega
previous Goni configuration patches - disabled DFU in TI's am335x SPL build due to insufficient SRAM capacity --- Mateusz Zalega (12): mmc: mmc header fix part: header fix arm:goni: Update configuration for goni target dfu: fix boards wo USB cable detection am335x: dfu: disable DFU

[U-Boot] [PATCH v2 07/12] arm:goni:dfu Add support for DFU to Goni target

2014-02-04 Thread Mateusz Zalega
. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v2 04/12] dfu: fix boards wo USB cable detection

2014-02-04 Thread Mateusz Zalega
Former usb_cable_connected() patch broke compilation of boards which do not support this feature. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common

[U-Boot] [PATCH v2 06/12] USB: gadget: added a saner gadget downloader registration API

2014-02-04 Thread Mateusz Zalega
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes

[U-Boot] [PATCH v2 10/12] dfu:mmc: raw data write fix

2014-02-04 Thread Mateusz Zalega
() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since v1: - updated overlooked type in DFU_CONFIG_ALT

[U-Boot] [PATCH v2 03/12] arm:goni: Update configuration for goni target

2014-02-04 Thread Mateusz Zalega
kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 56 +- 1 file changed, 30 insertions(+), 26

[U-Boot] [PATCH v2 05/12] am335x: dfu: disable DFU in am335x_evm SPL build

2014-02-04 Thread Mateusz Zalega
Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Lukasz Majewski l.majew...@samsung.com --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH v2 08/12] arm:goni: enable GPT command

2014-02-04 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 24a0fcc..d25c494 100644 --- a/include/configs/s5p_goni.h

[U-Boot] [PATCH v2 01/12] mmc: mmc header fix

2014-02-04 Thread Mateusz Zalega
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v2 09/12] arm:goni: enable USB Mass Storage

2014-02-04 Thread Mateusz Zalega
UMS-related defines were added to Samsung Goni config header. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/s5p_goni.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index

[U-Boot] [PATCH v2 02/12] part: header fix

2014-02-04 Thread Mateusz Zalega
Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Change-Id: Iafdd4f1997767e9eb84d583fd32c79c8c4d43afd Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH v2 11/12] mmc: postponed needless timer initialization

2014-02-04 Thread Mateusz Zalega
mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com Cc: Minkyu Kang mk7.k...@samsung.com --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions

[U-Boot] [PATCH v2 12/12] ums: always initialize mmc before ums_disk_init()

2014-02-04 Thread Mateusz Zalega
In some cases MMC was still uninitialized while media capacity check, leading to broken ums command. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since v1: - patch conforms to kernel coding style - moved mmc_init

Re: [U-Boot] [PATCH 8/9] ums: always initialize mmc before ums_disk_init()

2014-01-14 Thread Mateusz Zalega
On 01/14/14 01:49, Minkyu Kang wrote: On 09/01/14 23:31, Mateusz Zalega wrote: In some cases MMC was still uninitialized while media capacity check, leading to broken ums command. Change-Id: I4b86c2c59e430fb8b55272ea14f00316d8cb3dca Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc

Re: [U-Boot] [PATCH v3 7/9] dfu:mmc: raw data write fix

2014-01-13 Thread Mateusz Zalega
On 01/10/14 06:03, Jaehoon Chung wrote: This patch should be separated with dfu and mmc. ACK, because we're going to remove the bl_len assertion, see below. On 01/09/2014 11:31 PM, Mateusz Zalega wrote: When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC

Re: [U-Boot] [PATCH 8/9] ums: always initialize mmc before ums_disk_init()

2014-01-13 Thread Mateusz Zalega
fine C99 code. I'm not aware of any existing U-Boot style guidelines that would forbid me to leave it this way. These variables are only meaningful when mmc_init() returns a valid pointer. Regards, -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot

Re: [U-Boot] [PATCH 4/9] arm:goni:dfu Add support for DFU to Goni target

2014-01-13 Thread Mateusz Zalega
On 01/10/14 05:55, Jaehoon Chung wrote: On 01/09/2014 11:31 PM, Mateusz Zalega wrote: 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

Re: [U-Boot] [PATCH 8/9] ums: always initialize mmc before ums_disk_init()

2014-01-13 Thread Mateusz Zalega
On 01/13/14 15:43, Michael Trimarchi wrote: On Mon, Jan 13, 2014 at 3:39 PM, Mateusz Zalega m.zal...@samsung.com wrote: On 01/10/14 06:08, Jaehoon Chung wrote: index dc155ad..0d8f30d 100644 --- a/board/samsung/common/ums.c +++ b/board/samsung/common/ums.c @@ -37,6 +37,9 @@ static struct ums

[U-Boot] [PATCH 8/9] ums: always initialize mmc before ums_disk_init()

2014-01-09 Thread Mateusz Zalega
In some cases MMC was still uninitialized while media capacity check, leading to broken ums command. Change-Id: I4b86c2c59e430fb8b55272ea14f00316d8cb3dca Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Kyungmin

[U-Boot] [PATCH v3 3/9] arm:goni: Update configuration for goni target

2014-01-09 Thread Mateusz Zalega
: I00e55bc970512986f50b1f943021ba9de683795e Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@gmail.com Cc: Minkyu Kang mk7.k

[U-Boot] [PATCH 5/9] arm:goni: enable GPT command

2014-01-09 Thread Mateusz Zalega
Change-Id: Ifa9acad620652ac731e00d00db511846b6606917 Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com --- include/configs/s5p_goni.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH v3 7/9] dfu:mmc: raw data write fix

2014-01-09 Thread Mateusz Zalega
() when needed. Tested on Samsung Goni. v2 changes: - code cleanup - minor dfu_alt_info format change v3 changes: - moved invalid block length check to mmc core - removed redundant 'has_init' check Change-Id: Icb50bb9f805a9a78848acd19f682fad474cb9082 Signed-off-by: Mateusz Zalega m.zal

[U-Boot] [PATCH 9/9] USB: gadget: added a saner gadget downloader registration API

2014-01-09 Thread Mateusz Zalega
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of {usb_function_name, bind_callback) pairs. Change-Id: I4e0515e7fd61ff19793e9ac9a6c48b07c616c9dc Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski l.majew

[U-Boot] [PATCH 4/9] arm:goni:dfu Add support for DFU to Goni target

2014-01-09 Thread Mateusz Zalega
. Change-Id: I7812f395a3ee3660cec31f4d8c954057c0149863 Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz

[U-Boot] [PATCH 6/9] arm:goni: enable USB Mass Storage

2014-01-09 Thread Mateusz Zalega
UMS-related defines were added to Samsung Goni config header. Change-Id: I6c960e6785742653831aae4e7fc717ee493332cc Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com --- include/configs/s5p_goni.h | 2 ++ 1 file

[U-Boot] [PATCH 1/9] mmc: mmc header fix

2014-01-09 Thread Mateusz Zalega
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Change-Id: I3ccf56ce1e5334c32a7bc061e8bd9a5054ccb7f5 Signed-off-by: Mateusz Zalega

[U-Boot] [PATCH 2/9] part: header fix

2014-01-09 Thread Mateusz Zalega
Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Change-Id: Iafdd4f1997767e9eb84d583fd32c79c8c4d43afd Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k

Re: [U-Boot] [PATCH v7 0/13] Driver model implementation, tests, demo and GPIO

2013-12-02 Thread Mateusz Zalega
On 11/29/13 02:00, Masahiro Yamada wrote: How come 13/13 is missing? It's not. -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v6 14/17] dm: Add GPIO support and tests

2013-11-22 Thread Mateusz Zalega
On 11/07/13 17:32, Simon Glass wrote: Add driver model support for GPIOs. (...) Just a thought - what's keeping us from implementing 1:1 GPIO devicetree mapping with Linux? -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH v10] Add dmmalloc module for DM.

2013-11-05 Thread Mateusz Zalega
On 10/29/12 00:20, Tomas Hlavacek wrote: Add pointer to the first early heap into GD structure. Implement simple early_malloc and early_free functions. Prepare for additional heaps and automated heap initialization. Add temporary early_malloc_active function (to be replaced in future by more

Re: [U-Boot] [PATCH v10] Add dmmalloc module for DM.

2013-11-05 Thread Mateusz Zalega
of tree and comply with SPDX licenisng tags) and push it forward, thanks! will do, thx! -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-29 Thread Mateusz Zalega
it is conference season. I am in contact with the core maintainers and nothing is being dropped. That is all. -- Pantelis Mister, you seem to be upset. Regards, -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot

[U-Boot] [PATCH v4 2/2] arm:goni:dfu Add support for DFU at GONI target

2013-10-14 Thread Mateusz Zalega
larger buffer sizes needed by DFU implementation. Change-Id: I1b4953368176e8a7588abb0da37de6321f835698 Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz

[U-Boot] [PATCH v4 1/2] arm:goni: Update configuration for goni target

2013-10-14 Thread Mateusz Zalega
kyungmin.p...@samsung.com Signed-off-by: Mateusz Zalega m.zal...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Tested-by: Mateusz Zalega m.zal...@gmail.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes since v3: - added CMD_EXT4 - made it conform with current, recently

Re: [U-Boot] [PATCH v6] usb: new board-specific USB init interface

2013-10-07 Thread Mateusz Zalega
On 10/05/13 02:48, Troy Kisky wrote: On 10/4/2013 10:22 AM, Mateusz Zalega wrote: +/* + * You can initialize platform's USB host or device + * ports by passing this enum as an argument to + * board_usb_init(). + */ +enum board_usb_init_type { +USB_INIT_HOST, +USB_INIT_DEVICE

[U-Boot] [PATCH v6] usb: new board-specific USB init interface

2013-10-04 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off

[U-Boot] [PATCH v5] usb: new board-specific USB init interface

2013-10-02 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off

Re: [U-Boot] [PATCH v4] usb: new board-specific USB init interface

2013-09-26 Thread Mateusz Zalega
On 09/26/13 03:50, Marek Vasut wrote: Dear Mateusz Zalega, On 09/19/13 16:34, Marek Vasut wrote: I checked powerpc and arches glacier and glacier_nand don't build. Can you please check and fix ? You can get the ELDK 5.4 PPC toolchain from [1]. http://www.denx.de/wiki/ELDK-5/ Hello

Re: [U-Boot] [PATCH v4] usb: new board-specific USB init interface

2013-09-25 Thread Mateusz Zalega
defined(CONFIG_USB_MUSB_OMAP2PLUS) and results in: 169 #error USB Lowlevel not defined I don't like the notion of using board-specific CONFIG_* defines in usb.h. Any ideas on where can we move it? Maybe one generic CONFIG_USB_HOST specified in board code would do? -- Mateusz Zalega Samsung RD

Re: [U-Boot] [PATCH v4] usb: new board-specific USB init interface

2013-09-18 Thread Mateusz Zalega
On 09/17/13 18:11, Igor Grinberg wrote: Hello, On 09/10/2013 06:10 PM, Mateusz Zalega wrote: This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-16 Thread Mateusz Zalega
On 09/15/13 16:21, Marek Vasut wrote: I suppose this thread can be concluded by droping the INIT_ALL stuff entirely. Afterall, we do not want to init _ALL_ ports at once, but we want to init them selectively. Best regards, Marek Vasut +1 -- Mateusz Zalega Samsung RD Institute

Re: [U-Boot] [PATCH v4] usb: new board-specific USB init interface

2013-09-16 Thread Mateusz Zalega
On 09/15/13 18:44, Marek Vasut wrote: Dear Mateusz Zalega, This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed

[U-Boot] [PATCH v4] usb: new board-specific USB init interface

2013-09-10 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Mateusz Zalega
practical advantage over existing interface. Best Regards, -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Mateusz Zalega
write code or interfaces that won't ever be used? Best regards, -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Mateusz Zalega
changes as unjustified. Can you justify them without appealing to your authority and maybe inserting a couple of ad-hominems here and there? -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-05 Thread Mateusz Zalega
at once should probably then be 0x Despite our greatest ambitions, I don't think we're likely to use more than 2^31-1 USB controllers at a time. Besides, negative values look better both in code and debugger session. Best Regards, -- Mateusz Zalega Samsung RD Institute Poland

[U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-03 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Lukasz Majewski l.majew

  1   2   >