* [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig @ 2018-01-18 14:47 Eric Nelson 2018-01-18 14:47 ` [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support Eric Nelson ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Eric Nelson @ 2018-01-18 14:47 UTC (permalink / raw) To: u-boot This patch just changes the order of configuration items in mx6memcal_defconfig to match the Kconfig layout, making it easier to track changes made using menuconfig. Signed-off-by: Eric Nelson <eric@nelint.com> --- configs/mx6memcal_defconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configs/mx6memcal_defconfig b/configs/mx6memcal_defconfig index 9a3bb83..b27330c 100644 --- a/configs/mx6memcal_defconfig +++ b/configs/mx6memcal_defconfig @@ -9,25 +9,24 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,SPL,MX6QDL" CONFIG_SPL=y CONFIG_HUSH_PARSER=y -# CONFIG_MMC is not set # CONFIG_CMD_BOOTD is not set # CONFIG_CMD_BOOTM is not set # CONFIG_CMD_ELF is not set # CONFIG_CMD_IMI is not set -# CONFIG_CMD_IMLS is not set # CONFIG_CMD_XIMG is not set # CONFIG_CMD_EXPORTENV is not set # CONFIG_CMD_IMPORTENV is not set # CONFIG_CMD_EDITENV is not set # CONFIG_CMD_SAVEENV is not set # CONFIG_CMD_ENV_EXISTS is not set -CONFIG_CMD_MEMTEST=y CONFIG_CMD_MEMINFO=y -# CONFIG_CMD_LOADB is not set -# CONFIG_CMD_LOADS is not set +CONFIG_CMD_MEMTEST=y # CONFIG_CMD_FLASH is not set # CONFIG_CMD_FPGA is not set +# CONFIG_CMD_LOADB is not set +# CONFIG_CMD_LOADS is not set # CONFIG_CMD_NET is not set # CONFIG_CMD_NFS is not set CONFIG_CMD_CACHE=y +# CONFIG_MMC is not set CONFIG_REGEX=y -- 2.7.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support 2018-01-18 14:47 [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig Eric Nelson @ 2018-01-18 14:47 ` Eric Nelson 2018-01-18 15:08 ` Fabio Estevam 2018-02-04 10:06 ` Stefano Babic 2018-01-18 15:07 ` [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig Fabio Estevam 2018-02-04 10:06 ` Stefano Babic 2 siblings, 2 replies; 6+ messages in thread From: Eric Nelson @ 2018-01-18 14:47 UTC (permalink / raw) To: u-boot The initial implementation of mx6memcal reset the CPU after running the memory calibration procedure because the generic board has no information about which boot devices are available. Now that we have SDP support in SPL, use it to allow a full U-Boot to be uploaded (i.e. to use "mtest"). Signed-off-by: Eric Nelson <eric@nelint.com> --- board/freescale/mx6memcal/spl.c | 1 - configs/mx6memcal_defconfig | 10 ++++++++++ include/configs/mx6memcal.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/board/freescale/mx6memcal/spl.c b/board/freescale/mx6memcal/spl.c index 8ee89ff..805fdab 100644 --- a/board/freescale/mx6memcal/spl.c +++ b/board/freescale/mx6memcal/spl.c @@ -452,5 +452,4 @@ void board_init_f(ulong dummy) display_calibration(&calibration); } } - reset_cpu(0); } diff --git a/configs/mx6memcal_defconfig b/configs/mx6memcal_defconfig index b27330c..d3720dc 100644 --- a/configs/mx6memcal_defconfig +++ b/configs/mx6memcal_defconfig @@ -8,6 +8,10 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,SPL,MX6QDL" CONFIG_SPL=y +CONFIG_SPL_USB_HOST_SUPPORT=y +CONFIG_SPL_USB_GADGET_SUPPORT=y +CONFIG_SPL_USBETH_SUPPORT=y +CONFIG_SPL_USB_SDP_SUPPORT=y CONFIG_HUSH_PARSER=y # CONFIG_CMD_BOOTD is not set # CONFIG_CMD_BOOTM is not set @@ -29,4 +33,10 @@ CONFIG_CMD_MEMTEST=y # CONFIG_CMD_NFS is not set CONFIG_CMD_CACHE=y # CONFIG_MMC is not set +CONFIG_USB=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_MANUFACTURER="FSL" +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 +CONFIG_CI_UDC=y CONFIG_REGEX=y diff --git a/include/configs/mx6memcal.h b/include/configs/mx6memcal.h index f5238a5..28c67c4 100644 --- a/include/configs/mx6memcal.h +++ b/include/configs/mx6memcal.h @@ -56,4 +56,6 @@ #define CONFIG_ENV_SIZE (8 * 1024) +#define CONFIG_MXC_USB_PORTSC PORT_PTS_UTMI + #endif /* __CONFIG_H */ -- 2.7.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support 2018-01-18 14:47 ` [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support Eric Nelson @ 2018-01-18 15:08 ` Fabio Estevam 2018-02-04 10:06 ` Stefano Babic 1 sibling, 0 replies; 6+ messages in thread From: Fabio Estevam @ 2018-01-18 15:08 UTC (permalink / raw) To: u-boot On Thu, Jan 18, 2018 at 12:47 PM, Eric Nelson <eric@nelint.com> wrote: > The initial implementation of mx6memcal reset the CPU after > running the memory calibration procedure because the generic > board has no information about which boot devices are available. > > Now that we have SDP support in SPL, use it to allow a full > U-Boot to be uploaded (i.e. to use "mtest"). > > Signed-off-by: Eric Nelson <eric@nelint.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support 2018-01-18 14:47 ` [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support Eric Nelson 2018-01-18 15:08 ` Fabio Estevam @ 2018-02-04 10:06 ` Stefano Babic 1 sibling, 0 replies; 6+ messages in thread From: Stefano Babic @ 2018-02-04 10:06 UTC (permalink / raw) To: u-boot On 18/01/2018 15:47, Eric Nelson wrote: > The initial implementation of mx6memcal reset the CPU after > running the memory calibration procedure because the generic > board has no information about which boot devices are available. > > Now that we have SDP support in SPL, use it to allow a full > U-Boot to be uploaded (i.e. to use "mtest"). > > Signed-off-by: Eric Nelson <eric@nelint.com> > --- > board/freescale/mx6memcal/spl.c | 1 - > configs/mx6memcal_defconfig | 10 ++++++++++ > include/configs/mx6memcal.h | 2 ++ > 3 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/board/freescale/mx6memcal/spl.c b/board/freescale/mx6memcal/spl.c > index 8ee89ff..805fdab 100644 > --- a/board/freescale/mx6memcal/spl.c > +++ b/board/freescale/mx6memcal/spl.c > @@ -452,5 +452,4 @@ void board_init_f(ulong dummy) > display_calibration(&calibration); > } > } > - reset_cpu(0); > } > diff --git a/configs/mx6memcal_defconfig b/configs/mx6memcal_defconfig > index b27330c..d3720dc 100644 > --- a/configs/mx6memcal_defconfig > +++ b/configs/mx6memcal_defconfig > @@ -8,6 +8,10 @@ CONFIG_SPL_SERIAL_SUPPORT=y > CONFIG_SPL_WATCHDOG_SUPPORT=y > CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,SPL,MX6QDL" > CONFIG_SPL=y > +CONFIG_SPL_USB_HOST_SUPPORT=y > +CONFIG_SPL_USB_GADGET_SUPPORT=y > +CONFIG_SPL_USBETH_SUPPORT=y > +CONFIG_SPL_USB_SDP_SUPPORT=y > CONFIG_HUSH_PARSER=y > # CONFIG_CMD_BOOTD is not set > # CONFIG_CMD_BOOTM is not set > @@ -29,4 +33,10 @@ CONFIG_CMD_MEMTEST=y > # CONFIG_CMD_NFS is not set > CONFIG_CMD_CACHE=y > # CONFIG_MMC is not set > +CONFIG_USB=y > +CONFIG_USB_GADGET=y > +CONFIG_USB_GADGET_MANUFACTURER="FSL" > +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 > +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 > +CONFIG_CI_UDC=y > CONFIG_REGEX=y > diff --git a/include/configs/mx6memcal.h b/include/configs/mx6memcal.h > index f5238a5..28c67c4 100644 > --- a/include/configs/mx6memcal.h > +++ b/include/configs/mx6memcal.h > @@ -56,4 +56,6 @@ > > #define CONFIG_ENV_SIZE (8 * 1024) > > +#define CONFIG_MXC_USB_PORTSC PORT_PTS_UTMI > + > #endif /* __CONFIG_H */ > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig 2018-01-18 14:47 [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig Eric Nelson 2018-01-18 14:47 ` [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support Eric Nelson @ 2018-01-18 15:07 ` Fabio Estevam 2018-02-04 10:06 ` Stefano Babic 2 siblings, 0 replies; 6+ messages in thread From: Fabio Estevam @ 2018-01-18 15:07 UTC (permalink / raw) To: u-boot On Thu, Jan 18, 2018 at 12:47 PM, Eric Nelson <eric@nelint.com> wrote: > This patch just changes the order of configuration items in > mx6memcal_defconfig to match the Kconfig layout, making it easier > to track changes made using menuconfig. > > Signed-off-by: Eric Nelson <eric@nelint.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig 2018-01-18 14:47 [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig Eric Nelson 2018-01-18 14:47 ` [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support Eric Nelson 2018-01-18 15:07 ` [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig Fabio Estevam @ 2018-02-04 10:06 ` Stefano Babic 2 siblings, 0 replies; 6+ messages in thread From: Stefano Babic @ 2018-02-04 10:06 UTC (permalink / raw) To: u-boot On 18/01/2018 15:47, Eric Nelson wrote: > This patch just changes the order of configuration items in > mx6memcal_defconfig to match the Kconfig layout, making it easier > to track changes made using menuconfig. > > Signed-off-by: Eric Nelson <eric@nelint.com> > --- > configs/mx6memcal_defconfig | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/configs/mx6memcal_defconfig b/configs/mx6memcal_defconfig > index 9a3bb83..b27330c 100644 > --- a/configs/mx6memcal_defconfig > +++ b/configs/mx6memcal_defconfig > @@ -9,25 +9,24 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y > CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,SPL,MX6QDL" > CONFIG_SPL=y > CONFIG_HUSH_PARSER=y > -# CONFIG_MMC is not set > # CONFIG_CMD_BOOTD is not set > # CONFIG_CMD_BOOTM is not set > # CONFIG_CMD_ELF is not set > # CONFIG_CMD_IMI is not set > -# CONFIG_CMD_IMLS is not set > # CONFIG_CMD_XIMG is not set > # CONFIG_CMD_EXPORTENV is not set > # CONFIG_CMD_IMPORTENV is not set > # CONFIG_CMD_EDITENV is not set > # CONFIG_CMD_SAVEENV is not set > # CONFIG_CMD_ENV_EXISTS is not set > -CONFIG_CMD_MEMTEST=y > CONFIG_CMD_MEMINFO=y > -# CONFIG_CMD_LOADB is not set > -# CONFIG_CMD_LOADS is not set > +CONFIG_CMD_MEMTEST=y > # CONFIG_CMD_FLASH is not set > # CONFIG_CMD_FPGA is not set > +# CONFIG_CMD_LOADB is not set > +# CONFIG_CMD_LOADS is not set > # CONFIG_CMD_NET is not set > # CONFIG_CMD_NFS is not set > CONFIG_CMD_CACHE=y > +# CONFIG_MMC is not set > CONFIG_REGEX=y > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-02-04 10:06 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-01-18 14:47 [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig Eric Nelson 2018-01-18 14:47 ` [U-Boot] [PATCH 2/2] mx6memcal: enable SDP support Eric Nelson 2018-01-18 15:08 ` Fabio Estevam 2018-02-04 10:06 ` Stefano Babic 2018-01-18 15:07 ` [U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig Fabio Estevam 2018-02-04 10:06 ` Stefano Babic
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.