On 19-01-18 10:30:24, Tom Rini wrote:
> On Fri, Jan 18, 2019 at 03:26:42PM +0000, Abel Vesa wrote:
> > On 19-01-18 13:16:07, Fabio Estevam wrote:
> > > Hi Abel,
> > >
> > > On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa wrote:
> > >
> > > &
* dropped support for EFI and DOS partition to decrease SPL size on
sabresd
Abel Vesa (22):
usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE
usb: ehci-mx6: Make regulator DM_REGULATOR dependent
configs: imx6sabreauto: Add DM_MMC support
configs: imx6sabreauto: Add DM_USB support
mmc
Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL,
makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE.
Everything that is not part of the usb storage support in SPL is now
build under SPL_USB_HOST_SUPPORT.
Signed-off-by: Abel Vesa
Reviewed-by: Tom Rini
Do the regulator related work only if the build has the DM_REGULATOR.
Signed-off-by: Abel Vesa
---
drivers/usb/host/ehci-mx6.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1acf08d..9483947 100644
--- a
This allows us to keep the basic dts[i] files up-to-date with
the ones in kernel, but at the same time allowing the u-boot
to add its own properties to the existing nodes.
Signed-off-by: Abel Vesa
---
arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi | 6 ++
arch/arm/dts/imx6dl-sabresd-u
This matches one of the following three boards (or fails):
- imx6q-sabreauto
- imx6qp-sabreauto
- imx6dl-sabreauto
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale/mx6sabreauto
Add DM_MMC config to imx6sabreauto defconfig.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 40386c2..a3d63a2 100644
--- a/configs/mx6sabreauto_defconfig
+++ b
This matches one of the following three boards (or fails):
- imx6q-sabresd
- imx6qp-sabresd
- imx6dl-sabresd
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Add the DM support for USB. For that, DM_REGULATOR is needed.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index a3d63a2..4bdcbb1 100644
--- a/configs
Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] to the ones
from kernel v4.20 (commit 8fe28cb58bcb2).
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile | 8 +-
arch/arm/dts/imx6dl-sabreauto.dts | 13 +
arch/arm/dts/imx6dl-sabresd.dts | 18 +
arch/arm/dts
Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.
Signed-off-by: Abel Vesa
---
drivers/mmc/fsl_esdhc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc
Add simple its in order to allow SPL to boot u-boot proper
via FIT table.
Signed-off-by: Abel Vesa
---
arch/arm/mach-imx/mx6/fit_spl.its | 41 +++
1 file changed, 41 insertions(+)
create mode 100644 arch/arm/mach-imx/mx6/fit_spl.its
diff --git a/arch/arm
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
Add the DM_GPIO related config for mx6sabreauto.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++
configs/mx6sabreauto_defconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/board/freescale/mx6sabreauto
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi
and get rid of the enet reset gpio handling from the board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/freescale/mx6sabresd
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/README | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/board/freescale
Enable all the necessary configs for SPL DM and FIT support for
mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 23 +--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabresd board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 50 -
1 file changed, 50 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 4a9739c..e1b4b2f 100644
--- a/configs
Add the DM_GPIO related config for mx6sabresd.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 5 +
configs/mx6sabresd_defconfig| 1 +
2 files changed, 6 insertions(+)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/README | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/freescale
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 4f3a619..14adf65 100644
--- a/configs
With DM and FIT enabled in SPL, there is an sram overflow.
By disabling CONFIG_SPL_DOS_PARTITION and CONFIG_SPL_EFI_PARTITION,
we get to keep the 'one binary to fit all' for imx6[q|qp|dl]
on sabresd since the final SPL image is now under 64KB.
Signed-off-by: Abel Vesa
--
On 19-01-29 13:43:49, Peng Fan wrote:
>
>
> > -Original Message-
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:35
> > To: Tom Rini ; Fabio Estevam
> > ; u-boot@lists.denx.de; dl-uboot-imx
> > ; Peng Fan
> > Cc: Nitin Garg ; Abel Vesa
&
On 19-01-29 13:33:54, Peng Fan wrote:
> Hi Abel,
>
> > -Original Message-
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:31
> > To: Tom Rini ; Fabio Estevam
> > ; u-boot@lists.denx.de; dl-uboot-imx
> > ; Peng Fan
> > Cc: Nitin Garg ; Abel V
On 19-01-29 12:03:35, Tom Rini wrote:
> On Tue, Jan 29, 2019 at 11:30:47AM +0000, Abel Vesa wrote:
> > This allows us to keep the basic dts[i] files up-to-date with
> > the ones in kernel, but at the same time allowing the u-boot
> > to add its own properties to the existing n
On 19-01-29 13:29:04, Peng Fan wrote:
> Hi Abel,
>
> > -Original Message-
> > From: Abel Vesa
> > Sent: 2019年1月29日 19:31
> > To: Tom Rini ; Fabio Estevam
> > ; u-boot@lists.denx.de; dl-uboot-imx
> > ; Peng Fan
> > Cc: Nitin Garg ; Abel Ve
The second version is here:
https://lists.denx.de/pipermail/u-boot/2019-January/356557.html
Changes since v2:
* Removed the unecessary SYS_MALLOC_F_LEN from both defocnfig
* Fixed the copyright for all the *u-boot.dtsi files
Abel Vesa (22):
usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE
Add DM_MMC config to imx6sabreauto defconfig.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 40386c2..a3d63a2 100644
--- a/configs/mx6sabreauto_defconfig
+++ b
Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL,
makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE.
Everything that is not part of the usb storage support in SPL is now
build under SPL_USB_HOST_SUPPORT.
Signed-off-by: Abel Vesa
Reviewed-by: Tom Rini
Do the regulator related work only if the build has the DM_REGULATOR.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1acf08d
This matches one of the following three boards (or fails):
- imx6q-sabresd
- imx6qp-sabresd
- imx6dl-sabresd
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale
This matches one of the following three boards (or fails):
- imx6q-sabreauto
- imx6qp-sabreauto
- imx6dl-sabreauto
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board
Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.
Signed-off-by: Abel Vesa
---
drivers/mmc/fsl_esdhc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc
Add the DM support for USB. For that, DM_REGULATOR is needed.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index a3d63a2..4bdcbb1 100644
--- a/configs
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 1f4c5c5..b26e764 100644
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 31e8153..34fb9d04
Enable all the necessary configs for SPL DM and FIT support for
mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index
Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] to the ones
from kernel v4.20 (commit 8fe28cb58bcb2).
Signed-off-by: Abel Vesa
Acked-by: Peng Fan
---
arch/arm/dts/Makefile | 8 +-
arch/arm/dts/imx6dl-sabreauto.dts | 13 +
arch/arm/dts/imx6dl-sabresd.dts
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
This allows us to keep the basic dts[i] files up-to-date with
the ones in kernel, but at the same time allowing the u-boot
to add its own properties to the existing nodes.
Signed-off-by: Abel Vesa
---
arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi | 6 ++
arch/arm/dts/imx6dl-sabresd-u
Add simple its in order to allow SPL to boot u-boot proper
via FIT table.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
arch/arm/mach-imx/mx6/fit_spl.its | 41 +++
1 file changed, 41 insertions(+)
create mode 100644 arch/arm/mach-imx/mx6/fit_spl.its
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/README | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/board/freescale
Add the DM_GPIO related config for mx6sabresd.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 5 +
configs/mx6sabresd_defconfig| 1 +
2 files changed, 6 insertions(+)
diff --git a/board/freescale
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabresd board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 50 -
1 file changed, 50 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi
and get rid of the enet reset gpio handling from the board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/freescale/mx6sabresd
With DM and FIT enabled in SPL, there is an sram overflow.
By disabling CONFIG_SPL_DOS_PARTITION and CONFIG_SPL_EFI_PARTITION,
we get to keep the 'one binary to fit all' for imx6[q|qp|dl]
on sabresd since the final SPL image is now under 64KB.
Signed-off-by: Abel Vesa
--
Add the DM_GPIO related config for mx6sabreauto.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++
configs/mx6sabreauto_defconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/board
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/README | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/freescale
On 19-01-30 13:58:19, Tom Rini wrote:
> On Wed, Jan 30, 2019 at 01:39:50PM +0000, Abel Vesa wrote:
>
> > The second version is here:
> > https://lists.denx.de/pipermail/u-boot/2019-January/356557.html
> >
> > Changes since v2:
> > * Removed the unecessary
On 19-01-31 09:41:11, Tom Rini wrote:
> On Thu, Jan 31, 2019 at 12:59:19PM +0000, Abel Vesa wrote:
> > On 19-01-30 13:58:19, Tom Rini wrote:
> > > On Wed, Jan 30, 2019 at 01:39:50PM +, Abel Vesa wrote:
> > >
> > > > The second version is here:
> &g
e short story here is that spl_image->os was
remaining set to 0. (see first patch in the series for details)
Abel Vesa (20):
common: spl_fit: Fix the spl_fit_image_get_os for FIT_IMAGE_TINY
usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE
usb: ehci-mx6: Make regulator DM_REGULATO
Enable all the necessary configs for SPL DM and FIT support for
mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index
Add the DM support for USB. For that, DM_REGULATOR is needed.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index a3d63a2..4bdcbb1 100644
--- a/configs
Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.
Signed-off-by: Abel Vesa
---
drivers/mmc/fsl_esdhc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc
This allows us to keep the basic dts[i] files up-to-date with
the ones in kernel, but at the same time allowing the u-boot
to add its own properties to the existing nodes.
Signed-off-by: Abel Vesa
---
arch/arm/dts/imx6dl-sabreauto-u-boot.dtsi | 6 ++
arch/arm/dts/imx6dl-sabresd-u
Add the DM_GPIO related config for mx6sabresd.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 5 +
configs/mx6sabresd_defconfig| 1 +
2 files changed, 6 insertions(+)
diff --git a/board/freescale
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 4b40dfe..e8fd9b4 100644
Add the DM_GPIO related config for mx6sabreauto.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++
configs/mx6sabreauto_defconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/board
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
Do the regulator related work only if the build has the DM_REGULATOR.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1acf08d
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabresd board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 50 -
1 file changed, 50 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
Update all the dts[i] files for imx6[q|qp|dl] sabre[auto|sd] to the ones
from kernel v4.20 (commit 8fe28cb58bcb2).
Signed-off-by: Abel Vesa
Acked-by: Peng Fan
---
arch/arm/dts/Makefile | 8 +-
arch/arm/dts/imx6dl-sabreauto.dts | 13 +
arch/arm/dts/imx6dl-sabresd.dts
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 3b37766..bb466fe
This matches one of the following three boards (or fails):
- imx6q-sabresd
- imx6qp-sabresd
- imx6dl-sabresd
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabresd/mx6sabresd.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board/freescale
This matches one of the following three boards (or fails):
- imx6q-sabreauto
- imx6qp-sabreauto
- imx6dl-sabreauto
Signed-off-by: Abel Vesa
Reviewed-by: Peng Fan
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/board
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
Add DM_MMC config to imx6sabreauto defconfig.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 40386c2..a3d63a2 100644
--- a/configs/mx6sabreauto_defconfig
+++ b
Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL,
makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE.
Everything that is not part of the usb storage support in SPL is now
build under SPL_USB_HOST_SUPPORT.
Signed-off-by: Abel Vesa
Reviewed-by: Tom Rini
With DM and FIT enabled in SPL, there is an sram overflow. By disabling
CONFIG_SPL_DOS_PARTITION, CONFIG_SPL_EXT_SUPPORT and
CONFIG_SPL_EFI_PARTITION, we get to keep the 'one binary to fit all'
for imx6[q|qp|dl] on sabresd since the final SPL image is now under 64KB.
Signed-off-by:
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi
and get rid of the enet reset gpio handling from the board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/board/freescale/mx6sabresd
then if CONFIG_SPL_OS_BOOT was also
defined, the spl_image->os was left set to 0 which in turn
was skipping the fdt appending resulting in boot-up failure.
Fixes: 337bbb6297775e spl: fit: add SPL_FIT_IMAGE_TINY config to reduce
code-size
Signed-off-by: Abel Vesa
---
common/spl/spl_fit.c
On 19-02-01 15:13:32, Fabio Estevam wrote:
> Hi Abel,
>
> On Fri, Feb 1, 2019 at 2:43 PM Abel Vesa wrote:
> >
> > The third version is here:
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2019-January
On 19-02-02 07:50:28, Fabio Estevam wrote:
> Hi Abel,
>
> On Fri, Feb 1, 2019 at 2:43 PM Abel Vesa wrote:
> >
> > The third version is here:
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2019-January
On 19-02-04 08:19:23, Tom Rini wrote:
> On Mon, Feb 04, 2019 at 09:03:43AM -0200, Fabio Estevam wrote:
> > On Mon, Feb 4, 2019 at 7:55 AM Abel Vesa wrote:
> >
> > > If the SPL size (without the dtb appended) is larger then yes, the build
> > > fails.
> > &
On 19-02-04 08:19:23, Tom Rini wrote:
> On Mon, Feb 04, 2019 at 09:03:43AM -0200, Fabio Estevam wrote:
> > On Mon, Feb 4, 2019 at 7:55 AM Abel Vesa wrote:
> >
> > > If the SPL size (without the dtb appended) is larger then yes, the build
> > > fails.
> > &
Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL.
Make a separate config for SPL and keep the same depends on conditions but for
SPL.
Signed-off-by: Abel Vesa
---
common/Makefile| 2 +-
configs/apalis_imx6_defconfig | 1 +
configs
On 19-01-15 12:27:11, Marek Vasut wrote:
> On 1/15/19 12:07 PM, Abel Vesa wrote:
> > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL.
> > Make a separate config for SPL and keep the same depends on conditions but
> > for SPL.
>
> Is this new
On 19-01-15 18:38:00, Vignesh R wrote:
>
>
> On 15/01/19 4:37 PM, Abel Vesa wrote:
> > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL.
> > Make a separate config for SPL and keep the same depends on conditions but
> > for SPL.
> &
On 19-01-15 11:02:09, Tom Rini wrote:
> On Tue, Jan 15, 2019 at 11:07:23AM +0000, Abel Vesa wrote:
>
> > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL.
> > Make a separate config for SPL and keep the same depends on conditions but
> > for SPL
On 19-01-15 11:10:51, Tom Rini wrote:
> On Tue, Jan 15, 2019 at 04:05:43PM +0000, Abel Vesa wrote:
> > On 19-01-15 11:02:09, Tom Rini wrote:
> > > On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote:
> > >
> > > > Some boards might need USB_STOR
This comes as an answer to the following:
https://lists.denx.de/pipermail/u-boot/2018-November/348078.html
https://lists.denx.de/pipermail/u-boot/2018-November/348062.html
Abel Vesa (17):
common: Break USB_STORAGE dependency between SPL and u-boot proper
usb: ehci-mx6: Make regulator
Some boards might need USB_STORAGE enabled in u-boot proper but not in
SPL. Make a separate config for SPL and keep the same depends on
conditions but for SPL. Also, all the boards that have DISTRO_DEFAULTS
use by default SPL_USB_STORAGE.
Signed-off-by: Abel Vesa
---
arch/x86/cpu/coreboot
Add DM_MMC config to imx6sabreauto defconfig.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 8856567..23cb47e 100644
--- a/configs/mx6sabreauto_defconfig
+++ b
Do the regulator related work only if the build has the DM_REGULATOR.
Signed-off-by: Abel Vesa
---
drivers/usb/host/ehci-mx6.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1acf08d..9483947 100644
--- a
Add the DM support for USB. For that, DM_REGULATOR is needed.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 23cb47e..e55c2d9 100644
--- a/configs
Add necessary dts and dtsi files in order to enable DM in both
SPL and u-boot proper for mx6sabreauto.
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile |3 +-
arch/arm/dts/imx6q-sabreauto.dts| 78 +++
arch/arm/dts/imx6qdl-sabreauto.dtsi | 1118
Add simple its in order to allow SPL to boot u-boot proper
via FIT table.
Signed-off-by: Abel Vesa
---
arch/arm/mach-imx/mx6/fit_spl.its | 41 +++
1 file changed, 41 insertions(+)
create mode 100644 arch/arm/mach-imx/mx6/fit_spl.its
diff --git a/arch/arm
Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.
Signed-off-by: Abel Vesa
---
drivers/mmc/fsl_esdhc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc
This function is necessary to enable FIT support in SPL.
Doesn't really do anything.
Signed-off-by: Abel Vesa
---
arch/arm/mach-imx/spl.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 397d6d4..2e770c0 100644
--- a
Enable all the necessary configs for SPL DM and FIT support for
mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabreauto.
Signed-off-by: Abel Vesa
---
configs/mx6sabreauto_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index bcd6ff0..a4d051a 100644
--- a/configs
Add necessary dts and dtsi files in order to enable DM in both
SPL and u-boot proper for mx6sabresd.
Signed-off-by: Abel Vesa
---
arch/arm/dts/Makefile |3 +-
arch/arm/dts/imx6q-sabresd.dts| 92
arch/arm/dts/imx6qdl-sabresd.dtsi | 1065
Enable all the necessary configs for SPL DM and FIT support for
mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index
Add the DM_GPIO related config for mx6sabresd.
Also add the gpio request calls.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 5 +
configs/mx6sabresd_defconfig| 1 +
2 files changed, 6 insertions(+)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
Enable all neceassary configs to support DM_SPI_FLASH on mx6sabresd.
Signed-off-by: Abel Vesa
---
configs/mx6sabresd_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 9451bbd..7fbfddb 100644
--- a/configs
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabreauto board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabreauto/mx6sabreauto.c | 70 -
1 file changed, 70 deletions(-)
diff --git a/board/freescale/mx6sabreauto
Since the mx6sabreauto has DM support, remove the unused non-DM code
from mx6sabresd board file.
Signed-off-by: Abel Vesa
---
board/freescale/mx6sabresd/mx6sabresd.c | 50 -
1 file changed, 50 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
b
1 - 100 of 140 matches
Mail list logo