Commit 0093b3fcd83a77b18be2f8d7833a597032df6fdf
Committed by
Stefano Babic
1 parent
cc9467ef7e
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
mx6memcal: enable SDP support
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>
Showing 3 changed files with 12 additions and 1 deletions Side-by-side Diff
board/freescale/mx6memcal/spl.c
configs/mx6memcal_defconfig
... | ... | @@ -8,6 +8,10 @@ |
8 | 8 | CONFIG_SPL_WATCHDOG_SUPPORT=y |
9 | 9 | CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,SPL,MX6QDL" |
10 | 10 | CONFIG_SPL=y |
11 | +CONFIG_SPL_USB_HOST_SUPPORT=y | |
12 | +CONFIG_SPL_USB_GADGET_SUPPORT=y | |
13 | +CONFIG_SPL_USBETH_SUPPORT=y | |
14 | +CONFIG_SPL_USB_SDP_SUPPORT=y | |
11 | 15 | CONFIG_HUSH_PARSER=y |
12 | 16 | # CONFIG_CMD_BOOTD is not set |
13 | 17 | # CONFIG_CMD_BOOTM is not set |
... | ... | @@ -29,5 +33,11 @@ |
29 | 33 | # CONFIG_CMD_NFS is not set |
30 | 34 | CONFIG_CMD_CACHE=y |
31 | 35 | # CONFIG_MMC is not set |
36 | +CONFIG_USB=y | |
37 | +CONFIG_USB_GADGET=y | |
38 | +CONFIG_USB_GADGET_MANUFACTURER="FSL" | |
39 | +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 | |
40 | +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 | |
41 | +CONFIG_CI_UDC=y | |
32 | 42 | CONFIG_REGEX=y |