From: Ludwig Zenz <lzenz@dh-electronics.com>
To: u-boot@lists.denx.de
Subject: [PATCH 03/16] dh_imx6: Switch to full DM-aware
Date: Mon, 22 Jun 2020 09:38:36 +0000 [thread overview]
Message-ID: <9c77d657861d4bdf8a5dedac708079c7@dh-electronics.com> (raw)
On 6/13/20 3:55 PM, Jagan Teki wrote:
> Enable DM_SPI/DM_SPI_FLASH with a related config option.
>
> Build fine, but not tested.
Hello,
due to memory limitations in the SRAM of the i.MX6S in SPL we have not used the device tree. Have the restrictions been removed in the meantime? We need a single binary for the i.MX6 q/d/dl/s variants of our system on module.
I think this patch breaks the board support for our module.
regards,
Ludwig Zenz
> Cc: Ludwig Zenz <lzenz@dh-electronics.de>
> Cc: Andreas Geisreiter <ageisreiter@dh-electronics.de>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> configs/dh_imx6_defconfig | 3 +++
> include/configs/dh_imx6.h | 6 ------
> 2 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig index d20405e5b2..da756a8e3d 100644
> --- a/configs/dh_imx6_defconfig
> +++ b/configs/dh_imx6_defconfig
> @@ -49,12 +49,14 @@ CONFIG_CMD_CACHE=y
> CONFIG_CMD_TIME=y
> CONFIG_CMD_EXT4_WRITE=y
> CONFIG_OF_CONTROL=y
> +CONFIG_SPL_OF_CONTROL=y
> CONFIG_DEFAULT_DEVICE_TREE="imx6q-dhcom-pdk2"
> CONFIG_OF_LIST="imx6q-dhcom-pdk2 imx6dl-dhcom-pdk2"
> CONFIG_MULTI_DTB_FIT=y
> CONFIG_ENV_IS_IN_SPI_FLASH=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> +CONFIG_SPL_DM=y
> CONFIG_DWC_AHSATA=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_DM_I2C=y
> @@ -100,4 +102,5 @@ CONFIG_CI_UDC=y
> CONFIG_USB_GADGET_DOWNLOAD=y
> CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
> CONFIG_IMX_WATCHDOG=y
> +# CONFIG_SPL_WDT is not set
> CONFIG_BZIP2=y
> diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 5bfdf4044b..5fb84f72a2 100644
> --- a/include/configs/dh_imx6.h
> +++ b/include/configs/dh_imx6.h
> @@ -53,12 +53,6 @@
> /* SATA Configs */
> #define CONFIG_LBA48
>
> -/* SPI Flash Configs */
> -#if defined(CONFIG_SPL_BUILD)
> -#undef CONFIG_DM_SPI
> -#undef CONFIG_DM_SPI_FLASH
> -#endif
> -
> /* UART */
> #define CONFIG_MXC_UART
> #define CONFIG_MXC_UART_BASE UART1_BASE
> --
> 2.25.1
next reply other threads:[~2020-06-22 9:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 9:38 Ludwig Zenz [this message]
2020-06-22 12:32 ` [PATCH 03/16] dh_imx6: Switch to full DM-aware Tom Rini
2020-06-25 14:52 ` AW: " Ludwig Zenz
2020-06-25 17:21 ` Tom Rini
2020-06-25 17:22 ` Simon Glass
2020-07-08 13:06 ` Jagan Teki
2020-07-10 10:31 ` AW: " Ludwig Zenz
-- strict thread matches above, loose matches on Subject: below --
2020-06-29 12:27 Ludwig Zenz
2020-06-29 14:01 ` Tom Rini
2021-01-13 18:14 ` Marek Vasut
2020-06-13 13:54 [PATCH 00/16] spi: dm-conversion (part3) Jagan Teki
2020-06-13 13:54 ` [PATCH 03/16] dh_imx6: Switch to full DM-aware Jagan Teki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9c77d657861d4bdf8a5dedac708079c7@dh-electronics.com \
--to=lzenz@dh-electronics.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox