[PATCH] eeprom: starfive: set eth0 mac address properly

2023-08-11 Thread Seung-Woo Kim
fdt_fixup_ethernet() sets eth0 mac address from ethaddr. Set ethaddr to environment instead of eth0addr. Signed-off-by: Seung-Woo Kim --- board/starfive/visionfive2/visionfive2-i2c-eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/starfive/visionfive2

[RESEND][PATCH] gadget: f_thor: fix wrong file size cast

2021-01-20 Thread Seung-Woo Kim
nghoon Kim Reviewed-by: Jaehoon Chung Signed-off-by: Seung-Woo Kim --- drivers/usb/gadget/f_thor.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index 88fc87f2e907..559ffb759ed7 100644 --- a/drivers/usb/gadget/f_th

[PATCH] gadget: f_thor: fix wrong file size cast

2020-10-16 Thread Seung-Woo Kim
nghoon Kim Signed-off-by: Seung-Woo Kim --- drivers/usb/gadget/f_thor.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index 88fc87f2e9..559ffb759e 100644 --- a/drivers/usb/gadget/f_thor.c +++ b/drivers/usb/gadge

Re: [PATCH] mmc: bcm283x: fix int to pointer cast

2020-05-15 Thread Seung-Woo Kim
Hi Jaehoon, On 2020년 05월 15일 20:07, Jaehoon Chung wrote: > On 5/15/20 7:14 PM, Seung-Woo Kim wrote: >> On build with 32 bit, there is a warning for int-to-pointer-cast. >> Fix the int to pointer cast by using uintptr_t. > > Could you share in more detail? I didn't see any

[PATCH] mmc: bcm283x: fix int to pointer cast

2020-05-15 Thread Seung-Woo Kim
On build with 32 bit, there is a warning for int-to-pointer-cast. Fix the int to pointer cast by using uintptr_t. Signed-off-by: Seung-Woo Kim --- drivers/mmc/bcm2835_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/bcm2835_sdhci.c b/drivers/mmc

[PATCH] gadget: f_thor: add missing line breaks for pr_err()

2020-02-13 Thread Seung-Woo Kim
After the commit 9b643e312d52 ("treewide: replace with error() with pr_err()"), there are pr_err() usages without line break. Add missing line breaks for pr_err() used in f_thor. Signed-off-by: Seung-Woo Kim --- drivers/usb/gadget/f_thor.c | 24 1 file c

Re: [PATCH RESEND] usbtty: fix possible alignment issues

2020-01-07 Thread Seung-Woo Kim
Hi, On 2020년 01월 07일 22:22, Tom Rini wrote: > On Tue, Jan 07, 2020 at 02:25:02PM +0900, Seung-Woo Kim wrote: > ... >> --- >> drivers/serial/usbtty.c | 9 ++--- >> 1 file changed, 6 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/serial/usbtty.

[PATCH RESEND] usbtty: fix possible alignment issues

2020-01-06 Thread Seung-Woo Kim
dress-of-packed-member] 624 | str2wide (CONFIG_USBD_CTRL_INTERFACE_STR, string->wData); |~~^~~ Fix the issues by using packed structure. Ref: commit 616ebd8b9cb4 ("usb: composite: fix possible alignment issues")

[PATCH] usbtty: fix possible alignment issues

2020-01-06 Thread Seung-Woo Kim
dress-of-packed-member] 624 | str2wide (CONFIG_USBD_CTRL_INTERFACE_STR, string->wData); |~~^~~ Fix the issues by using packed structure. Ref: commit 616ebd8b9cb4 ("usb: composite: fix possible alignment issues")

Re: [U-Boot] [PATCH] Revert "arm: config: fix default console only to specify the device"

2019-03-25 Thread Seung-Woo Kim
Hello Anand, > -Original Message- > From: Anand Moon [mailto:linux.am...@gmail.com] > Sent: Monday, March 25, 2019 3:45 PM > To: Seung-Woo Kim > Cc: U-Boot Mailing List; Lukasz Majewski > Subject: Re: [U-Boot] [PATCH] Revert "arm: config: fix default console only

[U-Boot] [PATCH] Revert "arm: config: fix default console only to specify the device"

2018-11-19 Thread Seung-Woo Kim
for using ${console} in board/samsung/common/bootscripts/autoboot.cmd board/samsung/common/bootscripts/bootzimg.cmd Signed-off-by: Seung-Woo Kim --- include/configs/odroid.h| 4 ++-- include/configs/odroid_xu3.h| 4 ++-- include/configs/s5p_goni.h | 4 +

[U-Boot] [PATCH v2] script: Make get_default_envs.sh script exclude tools/env

2018-06-04 Thread Seung-Woo Kim
If building envtools, there is env directory in tools directory. Make the get_default_envs.sh script exclude tools/env directory. Signed-off-by: Seung-Woo Kim --- Change from v1 - fix typp as Minkyu's comment --- scripts/get_default_envs.sh |2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [U-Boot] [PATCH] fs: fat: fix wrong casting to unsigned value of sect_to_cluster()

2018-06-04 Thread Seung-Woo Kim
Hello, On 2018년 06월 05일 06:58, Tom Rini wrote: > On Mon, Jun 04, 2018 at 08:45:54PM +0900, Seung-Woo Kim wrote: > >> After the commit 265edc03d5a1 ("fs/fat: Clean up open-coded sector >> <-> cluster conversions"), it is hung up writing new file to FAT16 >&g

[U-Boot] [PATCH] fs: fat: fix wrong casting to unsigned value of sect_to_cluster()

2018-06-04 Thread Seung-Woo Kim
e. Fix the wrong casting of sect_to_cluster(). Reported-by: Jaehoon Chung Signed-off-by: Seung-Woo Kim --- include/fat.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fat.h b/include/fat.h index 7dada41..09e1423 100644 --- a/include/fat.h +++ b/include/fat.h

[U-Boot] [PATCH 3/3] cmd: add missing line breaks for pr_err()

2018-06-04 Thread Seung-Woo Kim
After the commit 9b643e312d52 ("treewide: replace with error() with pr_err()"), there are some pr_err() with no line break. Add missing line breaks. Signed-off-by: Seung-Woo Kim --- cmd/fastboot.c |2 +- cmd/regulator.c|2 +- cmd/thordown.c |6 +

[U-Boot] [PATCH 2/3] board: samsung: add missing line breaks for pr_err()

2018-06-04 Thread Seung-Woo Kim
After the commit 9b643e312d52 ("treewide: replace with error() with pr_err()"), there are some pr_err() with no line break. Add missing line breaks. Signed-off-by: Seung-Woo Kim --- board/samsung/common/exynos5-dt.c |2 +- board/samsung/common/misc.c |2 +- board/sams

[U-Boot] [PATCH 1/3] gadget: f_thor: fix hang-up with ctrl-c

2018-06-04 Thread Seung-Woo Kim
After the commit 6aae84769a0b ("gadget: f_thor: Fix memory leaks of usb request and its buffer"), there is hang-up with ctrl-c in some udc. It is because req of out_ep is freed before out_ep is disabled. Fix hang-up with ctrl-c by disabling ep before free req of the ep. Signed-off-by:

[U-Boot] [PATCH] script: Make get_default_envs.sh script exclude tools/env

2018-06-03 Thread Seung-Woo Kim
If building envtools, there is env directory in tools directory. Mafe the get_default_envs.sh script exclude tools/env directory. Signed-off-by: Seung-Woo Kim --- scripts/get_default_envs.sh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_default_envs.sh b

[U-Boot] [PATCH v3] gadget: f_thor: Fix memory leaks of usb request and its buffer

2018-05-24 Thread Seung-Woo Kim
There are memory leaks of usb request and its buffer for ep0, in_ep, and out ep. Fix memory leaks of usb request and its buffer. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- Change from v2 - replace only once used local function, thor_start_ep(), with generic functions as

Re: [U-Boot] [PATCH v2] gadget: f_thor: Fix memory leaks of usb request and its buffer

2018-05-24 Thread Seung-Woo Kim
Hello Lukasz, On 2018년 05월 25일 07:52, Lukasz Majewski wrote: > Hi Seung-Woo, > >> There are memory leaks of usb request and its buffer for ep0, >> in_ep, and out ep. Fix memory leaks of usb request and its buffer. >> >> Signed-off-by: Seung-Woo Kim <sw0312@s

[U-Boot] [PATCH v2] gadget: f_thor: Fix memory leaks of usb request and its buffer

2018-05-23 Thread Seung-Woo Kim
There are memory leaks of usb request and its buffer for ep0, in_ep, and out ep. Fix memory leaks of usb request and its buffer. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- Change from v1 - remove allocation of out_ep request instead of allocating and freeing - fix use erro

[U-Boot] [PATCH] gadget: f_thor: Fix memory leaks of usb request and its buffer

2018-05-23 Thread Seung-Woo Kim
There are memory leaks of usb request and its buffer for ep0, in_ep, and out ep. Fix memory leaks of usb request and its buffer. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/usb/gadget/f_thor.c | 34 +- 1 file changed, 25 insertions

Re: [U-Boot] [PATCH 2/2] gadget: f_thor: update to support more than 4GB file as thor 5.0

2018-05-10 Thread Seung-Woo Kim
ttps://git.tizen.org/cgit/tools/lthor Best Regards, - Seung-Woo Kim > >> >> Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> >> --- >> drivers/usb/gadget/f_thor.c | 10 +++--- >> drivers/usb/gadget/f_thor.h |2 +- >> 2 files changed, 8 i

[U-Boot] [PATCH 2/2] gadget: f_thor: update to support more than 4GB file as thor 5.0

2018-05-09 Thread Seung-Woo Kim
During file download, it only uses 32bit variable for file size and it limits maximum file size less than 4GB. Update to support more than 4GB file with using two 32bit variables for file size as thor protocol 5.0. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/usb/

[U-Boot] [PATCH 1/2] gadget: f_thor: fix filename overflow

2018-05-09 Thread Seung-Woo Kim
integrity. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/usb/gadget/f_thor.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index f874509..6d38cb6 100644 --- a/drivers/usb/gadget/f_thor.c

[U-Boot] [PATCH] spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()

2017-09-18 Thread Seung-Woo Kim
If there are no CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION, CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR and CONFIG_SPL_OS_BOOT, there is unused-function build warning. Add __maybe_unused macro to remove the warning. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- comm

Re: [U-Boot] [PATCH] usb: dwc2: Align size of invalidating dcache before starting DMA

2017-08-31 Thread Seung-Woo Kim
Hello, This patch was tested with Exynos4412 Odroid-U3 board for THOR usb gadget driver. Best Regards, - Seung-Woo Kim > -Original Message- > From: Seung-Woo Kim [mailto:sw0312@samsung.com] > Sent: Monday, July 31, 2017 6:08 PM > To: u-boot@lists.denx.de; lu...

[U-Boot] [PATCH] usb: dwc2: Align size of invalidating dcache before starting DMA

2017-07-31 Thread Seung-Woo Kim
During using dwc2 usb gadget, if usb message size is too small, following cache misaligned warning is shown: CACHE: Misaligned operation at range [bfdbcb00, bfdbcb04] Align size of invalidating dcache before starting DMA to remove the warning. Signed-off-by: Seung-Woo Kim <sw0

[U-Boot] [RESEND][PATCH] mmc: s5p_sdhci: fix to check proper pinmux id

2016-11-24 Thread Seung-Woo Kim
At sdhci_get_config(), there was wrong condition to check pimux id, so this patch fixes to check proper pinmux id. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- I was not in the mailing list, so I just resend. --- drivers/mmc/s5p_sdhci.c |2 +- 1 file changed, 1 insertion

[U-Boot] [PATCH] mmc: s5p_sdhci: fix to check proper pinmux id

2016-11-24 Thread Seung-Woo Kim
At sdhci_get_config(), there was wrong condition to check pimux id, so this patch fixes to check proper pinmux id. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/mmc/s5p_sdhci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/s5p_sdh