[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 Acked-by: Przemyslaw Marczak Cc: Minkyu Kang --- boards.cfg | 2 +- 1 file changed, 1 insertion(+),

[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 Cc: Pantelis Antoniou --- Detached from earlier "DFU, MMC, Gadget, Goni, misc." series because of lack of relevance to other patches. v2: - deleted change-id line from commit

[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 Acked-by: Marek Vasut Cc: Tom Rini --- Detached from earlier "DFU, MMC, Gadget, Goni, misc." series because of lack of relevance to other patches. v2: - deleted change-id line from commit message, sorr

[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 Acked-by: Marek Vasut Cc: Tom Rini --- Detached from earlier "DFU, MMC, Gadget, Goni, misc." series because of lack of relevance to other patches. There were n

[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 Cc: Pantelis Antoniou --- Detached from earlier "DFU, MMC, Gadget, Goni, misc." series because of lack of relevance t

[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 Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mateusz Zalega Cc: Minkyu Kang --- Changes since v1: - reordered --- board/samsung/goni/goni.c | 8 +++ include/configs/s5p_goni.h | 54

[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 Acked-by: Tom Rini Reviewed-by: Lukasz Majewski --- Changes since v2: - none --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/co

[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 Cc: Lukasz Majewski Cc

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

2014-04-28 Thread Mateusz Zalega
ned-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Acked-by: Lukasz Majewski Acked-by: Tom Rini Cc: Minkyu Kang --- Changes since v4: - added more detailed commit message - converted to C90-style - split into two patches: write fix and offset interpretation change --- drivers/dfu/dfu_m

[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 Cc: Minkyu Kang --- Changes since v1: - reordered --- 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 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 Tested-by: Ma

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

2014-04-28 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- 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 --- a/include/configs/s5p_goni.h +++ b

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

2014-04-28 Thread Mateusz Zalega
Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by

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

2014-04-28 Thread Mateusz Zalega
th default -EOPNOTSUPP return value, continues as if the cable was connected. CONFIG_USB_CABLE_CHECK was removed. Signed-off-by: Mateusz Zalega Cc: Lukasz Majewski Cc: Marek Vasut --- Changes since v4: - removed CONFIG_USB_CABLE_CHECK - moved implementation from usb.h (reserved for USB h

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

2014-04-28 Thread Mateusz Zalega
from usb.h (reserved for USB host code) to USB gadget - renamed usb_cable_connected to g_dnl_usb_cable_connected - removed defunct board implementations (origen, universal) - added __weak default implementation and removed ifdef'd blocks around dependent code in "gadget: added a saner gadge

[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 Acked-by: Lukasz Majewski Acked-by: Marek Vasut --- Changes since v1: - reordered since v2: - fixed

[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 Cc: Minkyu Kang Cc: Pantelis Antoniou --- Ch

[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 Cc: Tom Rini Cc: Minkyu Kang --- Changes since v1: - none --- include/part.h | 1 + 1 file ch

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

2014-04-16 Thread Mateusz Zalega
uot; should be "foo *bar" > #707: FILE: drivers/usb/gadget/g_dnl.c:110: > +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: &g

[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 Cc: Minkyu Kang --- 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 c52a00a..f551c22 100644 --- a/include

[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 Cc: Tom Rini Cc: Lukasz Majewski Cc: Minkyu Kang --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/co

[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 Tested-by: Mateusz Zalega Cc: Lukasz Majewski Cc: Minkyu Kang --- board/samsung/common/ums.c | 10 -- 1 file changed, 4

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

2014-04-15 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- 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 +++ b/include/configs/s5p_goni.h @@ -73,6

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

2014-04-15 Thread Mateusz Zalega
Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by

[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 Cc: Tom Rini Cc: Minkyu Kang --- include/part.h | 1 + 1 file changed, 1 insertion(+) diff --

[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 Cc: Pantelis Antoniou Cc: Minkyu Kang --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 16

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

2014-04-15 Thread Mateusz Zalega
quot;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: fixed linker-list example usb: dfu: fix boards wo U

[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 Cc: Lukasz Majewski Cc: Marek Vasut Cc: Minkyu Kang --- common/cmd_dfu.c| 3

[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 Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mateusz Zalega Cc: Minkyu Kang --- board/samsung/goni/goni.c | 8 +++ include/configs/s5p_goni.h | 54

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

2014-04-15 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega Cc: Marek Vasut Cc: Tom Rini Cc: Minkyu Kang --- 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 997d149..557e627 100644 --- a/include/linker_lists.h +++ b/include

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

2014-04-15 Thread Mateusz Zalega
_size() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Acked-by: Lukasz Majewski Cc: Minkyu Kang --- drivers/dfu/dfu_mmc.c| 106 ++- include/configs/am335x_evm.h | 8 ++-- include/configs/tr

[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 Cc: Lukasz Majewski Cc: Marek Vasut Cc: Minkyu Kang --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common

[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 Cc: Minkyu Kang Cc: Pantelis Ant

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

2014-04-15 Thread Mateusz Zalega
U implementation. am335x's SPL had to be disabled first, and I consider it a change on the feature list. I've reordered the fixes I could, but I guess it doesn't matter anymore, now that -next is out. Please ack applicable USB patches on the next patchset version or propose a differ

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 > Cc: Mateusz Zalega > Cc: Minkyu Kang > --- > board/samsung/goni/mem_setup.S | 249 > - > board/samsung/smdkc100/mem_setup.S | 181 -

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

2014-04-11 Thread Mateusz Zalega
which should go in immediatelly and then features > which > should go in for -next. 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

[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 --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/

[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 Cc: Lukasz Majewski --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_usb_mass_storage.c b/common

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

2014-03-31 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- 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 +++ b/include/configs/s5p_goni.h @@ -73,6

[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 Cc: Minkyu Kang --- include/mmc.h | 1 + 1

[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 Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mateusz Zalega Cc: Minkyu Kang --- board/samsung/goni/goni.c | 8 +++ include/configs/s5p_goni.h | 54

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

2014-03-31 Thread Mateusz Zalega
_size() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Acked-by: Lukasz Majewski Cc: Minkyu Kang --- drivers/dfu/dfu_mmc.c| 106 ++- include/configs/am335x_evm.h | 8 ++-- include/configs/tr

[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 Cc: Marek Vasut Cc: Tom Rini --- 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 997d149..557e627 100644 --- a

[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 Cc: Lukasz Majewski Cc: Marek Vasut --- common/cmd_dfu.c| 3 +- 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 Tested-by: Mateusz Zalega Cc: Lukasz Majewski Cc: Minkyu Kang --- board/samsung

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

2014-03-31 Thread Mateusz Zalega
Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by

[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 Cc: Minkyu Kang --- 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 c52a00a..f551c22 100644 --- a/include

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

2014-03-31 Thread Mateusz Zalega
hich broke 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 f

[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 Cc: Tom Rini Cc: Lukasz Majewski --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h

[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 Cc: Minkyu Kang --- include/part.h | 1 + 1 file changed, 1 insertion(+) diff --git a/in

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 yo

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

[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 Cc: Minkyu Kang --- Changes since v1: - patch conforms to kernel coding style - moved mmc_init() check to ums_init() --- board/samsung

[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 Cc: Pantelis Antoniou Cc: Minkyu Kang --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index c6

[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 Cc: Minkyu Kang Cc: Tom Rini --- in

[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 Cc: Minkyu Kang --- 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 d25c494..7314bff 100644 --- a/include

[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 Cc: Minkyu Kang Cc: Tom Rini --- include/

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

2014-02-04 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- 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 +++ b/include/configs/s5p_goni.h @@ -72,6

[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 Cc: Tom Rini Cc: Lukasz Majewski --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h

[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 Cc: Lukasz Majewski Cc: Marek Vasut --- Changes since v1: - reordered --- common/cmd_dfu.c

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

2014-02-04 Thread Mateusz Zalega
_size() when needed. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Acked-by: Lukasz Majewski Cc: Minkyu Kang --- Changes since v1: - updated overlooked type in DFU_CONFIG_ALT, trats2.h --- drivers/dfu/dfu_mmc.c

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

2014-02-04 Thread Mateusz Zalega
Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Change-Id: I00e55bc970512986f50b1f943021ba9de683795e Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz

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

2014-02-04 Thread Mateusz Zalega
hich broke 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:

[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 Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mateusz Zalega Cc: Minkyu Kang --- board/samsung/goni/goni.c | 9 include/configs/s5p_goni.h | 54

[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 Cc: Lukasz Majewski --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_usb_mass_storage.c b/common

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-

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 wrote: >> On 01/10/14 06:08, Jaehoon Chung wrote: >>>> index dc155ad..0d8f30d 100644 >>>> --- a/board/samsung/common/ums.c >>>> +++ b/board/samsung/common/u

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

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

2014-01-13 Thread Mateusz Zalega
n NULL; > > Locate this point. If you're asking to put this if() block after variable declaration, NAK. It's perfectly 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 m

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 >&

[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 Cc: Minkyu Kang Cc: Kyungmin Park --- in

[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 Z

[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 Cc: Minkyu Kang Cc: Kyungmin Park --- include/configs/s5p_goni.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/s5p_goni.h b

[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 Cc: Lukasz Majewski Cc: Kyungmin Park --- common

[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 Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mateusz Zalega Cc: Minkyu Kang --- board/samsung/goni/goni.c | 10 + include/configs

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

2014-01-09 Thread Mateusz Zalega
Change-Id: Ifa9acad620652ac731e00d00db511846b6606917 Signed-off-by: Mateusz Zalega Cc: Minkyu Kang Cc: Kyungmin Park --- 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

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

2014-01-09 Thread Mateusz Zalega
_size() 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

[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 Cc: Lukasz Majewski Cc: Minkyu Kang Cc: Kyungmin Park --- board/samsung/common/ums.c | 3 +++ 1 file changed

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

2014-01-09 Thread Mateusz Zalega
Change-Id: I00e55bc970512986f50b1f943021ba9de683795e Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mateusz Zalega Cc: Minkyu Kang --- include/configs/s5p_goni.h | 56 +- 1 file changed, 30

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 R&D 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 R&D Institute Poland ___ U-Boot ma

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

2013-11-05 Thread Mateusz Zalega
in, so there was no user of this change. If you have a user, > please re-use his patch (and it'll need a v11 to apply again on top of > tree and comply with SPDX licenisng tags) and push it forward, thanks! > will do, thx! -- Mateusz Zalega Samsung R&D Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/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 > m

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

2013-10-29 Thread Mateusz Zalega
; after 2 weeks of not reply to the patch. >> > > This passive aggressive crap might work on your mother, but not here. > > Learn how open source works, and expect delays when it is conference season. > I am in contact with the core maintainers

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

2013-10-14 Thread Mateusz Zalega
needed by DFU implementation. Change-Id: I1b4953368176e8a7588abb0da37de6321f835698 Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mateusz Zalega Cc: Minkyu Kang --- Changes since v3: - adjusted to match

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

2013-10-14 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by

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

[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 Signed-off-by: Kyungmin Park Reviewed

[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 Signed-off-by: Kyungmin Park Reviewed

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 th

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

2013-09-25 Thread Mateusz Zalega
B_MUSB_DSPS) || defined(CONFIG_USB_MUSB_AM35X) || \ 141 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_US

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. >

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 initia

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 -- Ma

[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 Signed-off-by: Kyungmin Park Reviewed

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

2013-09-06 Thread Mateusz Zalega
m right next to it. > > function(int foo , enum bar) > | ^ > | | > `-' > flags go >here > > Then int foo can be turned into unsigned int foo _and_ be used for it's one &g

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

2013-09-06 Thread Mateusz Zalega
ce. > > The advantage would be you won't be mixing two things (value AND value with > special meaning) into the "index" parameter. Alright, provide a use-case. The only 'special' value we have now doesn't interfere with controller index. Why write code or in

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

2013-09-06 Thread Mateusz Zalega
using negative value here, like I > mentioned > above, why not make the "board_usb_init_type" into a field of flags , then > add > flag to init all controllers at once ? That's unnecessary. It wouldn't lead to any practical advantage over existing interface. Best Regards, -- Mateusz Zalega Samsung R&D 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-05 Thread Mateusz Zalega
likely be unsigned int and the special value > to > init all controllers 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 de

[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 Signed-off-by: Kyungmin Park Reviewed-by: Lukasz Majewski Cc: Minkyu Kang Cc: Marek Vasut --- Changes since RFC

  1   2   >