[U-Boot] [PATCH V2] ARM: imx6: Add DHCOM i.MX6 PDK board support

Jagan Teki jagannadh.teki at gmail.com
Tue Oct 10 14:04:09 UTC 2017


On Tue, Oct 10, 2017 at 7:10 PM, Marek Vasut <marex at denx.de> wrote:
> On 10/10/2017 03:32 PM, Jagan Teki wrote:
>> On Tue, Oct 10, 2017 at 1:21 AM, Marek Vasut <marex at denx.de> wrote:
>>> Add support for the DHCOM i.MX6 PDK board. This board has:
>>> - FEC ethernet
>>> - EHCI USB host
>>> - 3x SDMMC
>>>
>>> Signed-off-by: Marek Vasut <marex at denx.de>
>>> Cc: Stefano Babic <sbabic at denx.de>
>>> ---
>>> V2: Use get_cpu_type() and imx_get_mac_from_fuse()
>>> ---
>>>  arch/arm/mach-imx/mx6/Kconfig             |  10 +
>>>  board/dhelectronics/dh_imx6/Kconfig       |  12 +
>>>  board/dhelectronics/dh_imx6/MAINTAINERS   |   7 +
>>>  board/dhelectronics/dh_imx6/Makefile      |  11 +
>>>  board/dhelectronics/dh_imx6/dh_imx6.c     | 437 ++++++++++++++++++++++++++++++
>>>  board/dhelectronics/dh_imx6/dh_imx6_spl.c | 399 +++++++++++++++++++++++++++
>>>  configs/dh_imx6_defconfig                 |  51 ++++
>>>  include/configs/dh_imx6.h                 | 191 +++++++++++++
>>>  8 files changed, 1118 insertions(+)
>>>  create mode 100644 board/dhelectronics/dh_imx6/Kconfig
>>>  create mode 100644 board/dhelectronics/dh_imx6/MAINTAINERS
>>>  create mode 100644 board/dhelectronics/dh_imx6/Makefile
>>>  create mode 100644 board/dhelectronics/dh_imx6/dh_imx6.c
>>>  create mode 100644 board/dhelectronics/dh_imx6/dh_imx6_spl.c
>>>  create mode 100644 configs/dh_imx6_defconfig
>>>  create mode 100644 include/configs/dh_imx6.h
>>>
>>> diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig
>>> index 540f2b29b1..b82db3af22 100644
>>> --- a/arch/arm/mach-imx/mx6/Kconfig
>>> +++ b/arch/arm/mach-imx/mx6/Kconfig
>>> @@ -129,6 +129,15 @@ config TARGET_COLIBRI_IMX6
>>>         select DM_SERIAL
>>>         select DM_THERMAL
>>>
>>> +config TARGET_DHCOMIMX6
>>> +       bool "dh_imx6"
>>> +       select BOARD_LATE_INIT
>>> +       select BOARD_EARLY_INIT_F
>>> +       select SUPPORT_SPL
>>> +       select DM
>>> +       select DM_THERMAL
>>> +       imply CMD_SPL
>>
>> I would suggest to add new boards with DTS along with enabling
>> dm-driven drivers, this would eventually improve i.MX tree toward
>> using new feature set.
>
> Enabling unused stuff and adding bloat ? Nope :)

OK, but we still have useful stuff:

DM_ETH
DM_GPIO
DM_I2C
DM_MMC
DM_SPI
DM_SPI_FLASH

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list