[U-Boot] [PATCH 3/5] spl: Add ability to disable SPL FAT

2019-02-12 Thread Adrian Ratiu
From: Sjoerd Simons spl_usb depends on FAT support, so don't try to build it if fat support is disabled for SPL. Signed-off-by: Sjoerd Simons --- common/spl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/spl/Makefile b/common/spl/Makefile index e1daabf1e9c..42db0441559

[U-Boot] [PATCH 4/5] spl: Add common usb support in spl if needed

2019-02-12 Thread Adrian Ratiu
From: Sjoerd Simons If build into the SPL at least the MUSB USB driver needs the common usb functionality (e.g. parsing of the DR role dt property), so build this. Signed-off-by: Sjoerd Simons --- scripts/Makefile.spl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile.spl

[U-Boot] [PATCH 1/5] drivers: usb: musb: Fail if the ctrl mod register is missing

2019-02-12 Thread Adrian Ratiu
From: Sjoerd Simons If the trcl mode register address cannot be found error out rather then trying to continue (which cannot work) Signed-off-by: Sjoerd Simons --- drivers/usb/musb-new/ti-musb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/usb/musb-new/ti-musb.c

[U-Boot] [PATCH 5/5] cmd: pxe: Increase MAX_TFTP_PATH_LEN to 256

2019-02-12 Thread Adrian Ratiu
From: Martyn Welch Despite the name it's also used for paths in distro configuration files (i.e. extlinux.conf). When using OSTree, it is very easy to reach the 127 character limit, thus increase to 256 bytes. Signed-off-by: Martyn Welch --- cmd/pxe.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 2/5] drivers: usb: musb: Fix comparison between pointer and integer warn

2019-02-12 Thread Adrian Ratiu
drivers/usb/musb-new/ti-musb.c: In function 'ti_musb_ofdata_to_platdata': drivers/usb/musb-new/ti-musb.c:93:30: warning: comparison between pointer and integer if (platdata->ctrl_mod_base == FDT_ADDR_T_NONE) {} Signed-off-by: Adrian Ratiu --- drivers/usb/musb-new/ti-musb.c | 2 +-

[U-Boot] [PATCH] fw_printenv: Don't bail out directly after one env read error

2018-06-26 Thread Ioan-Adrian Ratiu
From: Joe Hershberger When using a redundant environment a read error should simply mean to not use that copy instead of giving up completely. The other copy may be just fine. Signed-off-by: Joe Hershberger Signed-off-by: Ioan-Adrian Ratiu --- tools/env/fw_env.c | 24