Skip to contentSkip to conversation

dm: Removal of some boards due to DM_MMC deadline

PATCH New Simon Glass 4 participants 21 messages May 11, 2019 – May 14, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover dm: Removal of some boards due to DM_MMC deadline

This series starts the process of removing boards which have not been converted to driver model for MMC.

In some cases it is possible to convert the board and it still builds. Probably that is preferably to completely removing it, so that approach is taken where possible.

Other unconverted ARM boards include:

pcm058 vining_2000 cgtqmx6eval udoo riotboard_spl db-88f6281-bp-nand sheevaplug udoo_neo db-88f6281-bp-spi mccmon6_nor mx6qsabrelite gwventana_nand mx6cuboxi gwventana_emmc sksimx6 picosam9g45 pfla02 zc5202 marsboard ls1021atwr_sdcard_ifc_SECURE_BOOT gwventana_gw5904 ot1200_spl riotboard mccmon6_sd xpress_spl colibri_pxa270 display5_factory vinco dh_imx6 xpress kp_imx6q_tpc zc5601 ot1200

PowerPC has quite a few also.

Simon Glass (11):
patman: Update cros_subprocess to use bytearray Add a simple script to remove boards
solidrun: Fix soldrun typo
atmel: gurnard: Complete DM migration
bubblegum_96: Complete DM migration
arm: Remove s32v234evb board
arm: Remove ls1088ardb_sdcard_qspi_SECURE_BOOT board
arm: Remove ls1046ardb_sdcard_SECURE_BOOT board
arm: Remove ls1043ardb_sdcard_SECURE_BOOT board
evb-ast2500: Enable CONFIG_DM_MMC vf610twr/_nand: Enable CONFIG_DM_MMC

 arch/arm/Kconfig                              |   1 -
 arch/arm/cpu/armv8/s32v234/Makefile           |   6 -
 arch/arm/cpu/armv8/s32v234/cpu.c              |  98 -----
 arch/arm/cpu/armv8/s32v234/cpu.h              |   7 -
 arch/arm/cpu/armv8/s32v234/generic.c          | 349 ------------------
 arch/arm/include/asm/arch-s32v234/clock.h     |  33 --
 arch/arm/include/asm/arch-s32v234/ddr.h       | 156 --------
 arch/arm/include/asm/arch-s32v234/imx-regs.h  | 328 ----------------
 arch/arm/include/asm/arch-s32v234/lpddr2.h    |  74 ----
 .../include/asm/arch-s32v234/mc_cgm_regs.h    | 253 -------------
 .../arm/include/asm/arch-s32v234/mc_me_regs.h | 198 ----------
 .../include/asm/arch-s32v234/mc_rgm_regs.h    |  30 --
 arch/arm/include/asm/arch-s32v234/mmdc.h      |  88 -----
 arch/arm/include/asm/arch-s32v234/siul.h      | 149 --------
 board/freescale/s32v234evb/Kconfig            |  23 --
 board/freescale/s32v234evb/MAINTAINERS        |   8 -
 board/freescale/s32v234evb/Makefile           |   9 -
 board/freescale/s32v234evb/clock.c            | 343 -----------------
 board/freescale/s32v234evb/lpddr2.c           | 136 -------
 board/freescale/s32v234evb/s32v234evb.c       | 182 ---------
 board/freescale/s32v234evb/s32v234evb.cfg     |  28 --
 board/solidrun/clearfog/MAINTAINERS           |   2 +-
 configs/bubblegum_96_defconfig                |   1 +
 configs/evb-ast2500_defconfig                 |   1 +
 configs/gurnard_defconfig                     |   3 +
 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   |  68 ----
 .../ls1046ardb_sdcard_SECURE_BOOT_defconfig   |  65 ----
 ...1088ardb_sdcard_qspi_SECURE_BOOT_defconfig |  69 ----
 configs/s32v234evb_defconfig                  |  17 -
 configs/vf610twr_defconfig                    |   1 +
 configs/vf610twr_nand_defconfig               |   1 +
 include/configs/s32v234evb.h                  | 190 ----------
 tools/patman/cros_subprocess.py               |  33 +-
 tools/patman/gitutil.py                       |   2 +
 tools/rmboard.py                              | 150 ++++++++
 35 files changed, 181 insertions(+), 2921 deletions(-)
 delete mode 100644 arch/arm/cpu/armv8/s32v234/Makefile
 delete mode 100644 arch/arm/cpu/armv8/s32v234/cpu.c
 delete mode 100644 arch/arm/cpu/armv8/s32v234/cpu.h
 delete mode 100644 arch/arm/cpu/armv8/s32v234/generic.c
 delete mode 100644 arch/arm/include/asm/arch-s32v234/clock.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/ddr.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/imx-regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/lpddr2.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mc_cgm_regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mc_me_regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mc_rgm_regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mmdc.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/siul.h
 delete mode 100644 board/freescale/s32v234evb/Kconfig
 delete mode 100644 board/freescale/s32v234evb/MAINTAINERS
 delete mode 100644 board/freescale/s32v234evb/Makefile
 delete mode 100644 board/freescale/s32v234evb/clock.c
 delete mode 100644 board/freescale/s32v234evb/lpddr2.c
 delete mode 100644 board/freescale/s32v234evb/s32v234evb.c
 delete mode 100644 board/freescale/s32v234evb/s32v234evb.cfg
 delete mode 100644 configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
 delete mode 100644 configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
 delete mode 100644 configs/s32v234evb_defconfig
 delete mode 100644 include/configs/s32v234evb.h
 create mode 100755 tools/rmboard.py
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#1 lore raw

PATCH 1/11 patman: Update cros_subprocess to use bytearray

At present this function uses lists and strings. This does not work so well with Python 3, and testing against '' does not work for a bytearray. Update the code to fix these issues.

---

 tools/patman/cros_subprocess.py | 33 +++++++++++++++++++++------------
 tools/patman/gitutil.py         |  2 ++
 2 files changed, 23 insertions(+), 12 deletions(-)
tools/patman/cros_subprocess.py +21 -12
index ebd4300dfd..cd19150ee6 100644
@@ -156,11 +156,11 @@ class Popen(subprocess.Popen):
                 self.stdin.close()
         if self.stdout:
             read_set.append(self.stdout)
-            stdout = []
+            stdout = bytearray()
         if self.stderr and self.stderr != self.stdout:
             read_set.append(self.stderr)
-            stderr = []
-        combined = []
+            stderr = bytearray()
+        combined = bytearray()
 
         input_offset = 0
         while read_set or write_set:
@@ -192,12 +192,12 @@ class Popen(subprocess.Popen):
                     data = os.read(self.stdout.fileno(), 1024)
                 except OSError:
                     pass
-                if data == "":
+                if not len(data):
                     self.stdout.close()
                     read_set.remove(self.stdout)
                 else:
-                    stdout.append(data)
-                    combined.append(data)
+                    stdout += data
+                    combined += data
                     if output:
                         output(sys.stdout, data)
             if self.stderr in rlist:
@@ -207,25 +207,34 @@ class Popen(subprocess.Popen):
                     data = os.read(self.stderr.fileno(), 1024)
                 except OSError:
                     pass
-                if data == "":
+                if not len(data):
                     self.stderr.close()
                     read_set.remove(self.stderr)
                 else:
-                    stderr.append(data)
-                    combined.append(data)
+                    stderr += data
+                    combined += data
                     if output:
                         output(sys.stderr, data)
 
         # All data exchanged.    Translate lists into strings.
         if stdout is not None:
-            stdout = ''.join(stdout)
+            try:
+                stdout = stdout.decode('utf-8')
+            except UnicodeDecodeError:
+                stdout = stdout.decode('utf-8', 'ignore')
         else:
             stdout = ''
         if stderr is not None:
-            stderr = ''.join(stderr)
+            try:
+                stderr = stderr.decode('utf-8')
+            except UnicodeDecodeError:
+                stderr = stderr.decode('utf-8', 'ignore')
         else:
             stderr = ''
-        combined = ''.join(combined)
+        try:
+            combined = combined.decode('utf-8')
+        except UnicodeDecodeError:
+            combined = combined.decode('utf-8', 'ignore')
 
         # Translate newlines, if requested.    We cannot let the file
         # object do the translation: It is based on stdio, which is
tools/patman/gitutil.py +2 -0
index 9905bb0bbd..7650b51bd5 100644
@@ -326,6 +326,8 @@ def BuildEmailList(in_list, tag=None, alias=None, raise_on_error=True):
     result = []
     for item in raw:
         if not item in result:
+            if type(item) == unicode:
+                item = item.encode('utf-8')
             result.append(item)
     if tag:
         return ['%s %s%s%s' % (tag, quote, email, quote) for email in result]
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#2 lore raw

PATCH 2/11 Add a simple script to remove boards

In reply to Simon Glass

This script attempts to create a git commit which removes a single board. It is quite fallible and everything it does needs checking. But it can help speed up the process.

---

 tools/rmboard.py | 150 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 150 insertions(+)
 create mode 100755 tools/rmboard.py
tools/rmboard.py new file +150 -0
new file mode 100755
index 0000000000..17952f795d
@@ -0,0 +1,150 @@
+#! /usr/bin/python
+# SPDX-License-Identifier: GPL-2.0+
+# Copyright 2019 Google LLC
+#
+
+"""
+Script to remove boards
+
+Usage:
+   rmboard.py <board_name>...
+
+A single commit is created for each board removed.
+
+Some boards may depend on files provided by another and this will cause
+problems, generally the removal of files which should not be removed.
+
+This script works by:
+    - Looking through the MAINTAINERS files which mention a board to find out
+        what files the board uses
+    - Looking through the Kconfig files which mention a board to find one that
+        needs to have material removed
+
+Search for ## to update the commit message manually.
+"""
+
+from __future__ import print_function
+
+import glob
+import os
+import re
+import sys
+
+# Bring in the patman libraries
+our_path = os.path.dirname(os.path.realpath(__file__))
+sys.path.append(os.path.join(our_path, '../tools/patman'))
+
+import command
+
+def rm_kconfig_include(path):
+    """Remove a path from Kconfig files
+
+    This function finds the given path in a 'source' statement in a Kconfig
+    file and removes that line from the file. This is needed because the path
+    is going to be removed, so any reference to it will cause a problem with
+    Kconfig parsing.
+
+    The changes are made locally and then added to the git staging area.
+
+    Args:
+        path: Path to search for and remove
+    """
+    cmd = ['git', 'grep', path]
+    stdout = command.RunPipe([cmd], capture=True, raise_on_error=False).stdout
+    if not stdout:
+        return
+    fname = stdout.split(':')[0]
+
+    print("Fixing up '%s' to remove reference to '%s'" % (fname, path))
+    cmd = ['sed', '-i', '\|%s|d' % path, fname]
+    stdout = command.RunPipe([cmd], capture=True).stdout
+
+    cmd = ['git', 'add', fname]
+    stdout = command.RunPipe([cmd], capture=True).stdout
+
+def rm_board(board):
+    """Create a commit which removes a single board
+
+    This looks up the MAINTAINERS file to file files that need to be removed,
+    then removes pieces from the Kconfig files that mention the board.
+
+
+    Args:
+        board: Board name to remove
+    """
+
+    # Find all MAINTAINERS and Kconfig files which mention the board
+    cmd = ['git', 'grep', '-l', board]
+    stdout = command.RunPipe([cmd], capture=True).stdout
+    maintain = []
+    kconfig = []
+    for line in stdout.splitlines():
+        line = line.strip()
+        if 'MAINTAINERS' in line:
+            if line not in maintain:
+                maintain.append(line)
+        elif 'Kconfig' in line:
+            kconfig.append(line)
+    paths = []
+    cc = []
+
+    # Look through the MAINTAINERS file to find things to remove
+    for fname in maintain:
+        with open(fname) as fd:
+            for line in fd:
+                line = line.strip()
+                fields = re.split('[ \t]', line, 1)
+                if len(fields) == 2:
+                    if fields[0] == 'M:':
+                        cc.append(fields[1])
+                    elif fields[0] == 'F:':
+                        paths.append(fields[1].strip())
+
+    # Expannd any wildcards in the MAINTAINRERS file
+    real = []
+    for path in paths:
+        if path[-1] == '/':
+            path = path[:-1]
+        if '*' in path:
+            globbed = glob.glob(path)
+            print("Expanded '%s' to '%s'" % (path, globbed))
+            real += globbed
+        else:
+            real.append(path)
+
+    # Search for Kconfig files in the resulting list. Remove any 'source' lines
+    # which reference Kconfig files we want to remove
+    for path in real:
+        cmd = ['find', path]
+        stdout = (command.RunPipe([cmd], capture=True, raise_on_error=False).
+                  stdout)
+        for fname in stdout.splitlines():
+            if fname.endswith('Kconfig'):
+                rm_kconfig_include(fname)
+
+    # Remove unwanted files
+    cmd = ['git', 'rm', '-r'] + real
+    stdout = command.RunPipe([cmd], capture=True).stdout
+
+    ## Change the messages as needed
+    msg = '''arm: Remove %s board
+
+This board has not been converted to CONFIG_DM_MMC by the deadline.
+Remove it.
+
+''' % board
+    for name in cc:
+        msg += 'Patch-cc: %s\n' % name
+
+    # Create the commit
+    cmd = ['git', 'commit', '-s', '-m', msg]
+    stdout = command.RunPipe([cmd], capture=True).stdout
+
+    # Check if the board is mentioned anywhere else. The user will need to deal
+    # with this
+    cmd = ['git', 'grep', '-il', board]
+    print(command.RunPipe([cmd], capture=True, raise_on_error=False).stdout)
+    print(' '.join(cmd))
+
+for board in sys.argv[1:]:
+    rm_board(board)
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#3 lore raw

PATCH 2/11 Add a simple script to remove boards

Quoted 17 lines · Simon Glass

This script attempts to create a git commit which removes a single board. It is quite fallible and everything it does needs checking. But it can help speed up the process.

---

 tools/rmboard.py | 150 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 150 insertions(+)
 create mode 100755 tools/rmboard.py
tools/rmboard.py new file +0 -0
new file mode 100755
index 0000000000..17952f795d

tools/rmboard.py line 3

Quoted 3 lines
tools/rmboard.py new file +3 -0
@@ -0,0 +1,150 @@
+#! /usr/bin/python
+# SPDX-License-Identifier: GPL-2.0+
+# Copyright 2019 Google LLC

Is this python3 or python2? Since we have a lot of python2 stuff currently, I want to be sure we're just adding python3 now, thanks.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190511/b81d1d17/attachment.sig>
#4 lore raw

PATCH 2/11 Add a simple script to remove boards

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 11 lines · Simon Glass

This script attempts to create a git commit which removes a single board. It is quite fallible and everything it does needs checking. But it can help speed up the process.

---

 tools/rmboard.py | 150 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 150 insertions(+)
 create mode 100755 tools/rmboard.py
Quoted 12 lines

tools/rmboard.py line 3

Quoted 9 lines
tools/rmboard.py new file +3 -0
new file mode 100755
index 0000000000..17952f795d
@@ -0,0 +1,150 @@
+#! /usr/bin/python
+# SPDX-License-Identifier: GPL-2.0+
+# Copyright 2019 Google LLC

Is this python3 or python2? Since we have a lot of python2 stuff currently, I want to be sure we're just adding python3 now, thanks.

It works with both (for me).

I have code that fixes up patman and a few libraries as well. Will see if I can tidy it up and send it.

Regards,
Simon

#5 lore raw

PATCH 3/11 solidrun: Fix soldrun typo

In reply to Simon Glass

This file in the MAINTAINERS file is incorrect. Fix it.

---

 board/solidrun/clearfog/MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/solidrun/clearfog/MAINTAINERS +1 -1
index 6646d96206..2f7e04c52e 100644
@@ -1,7 +1,7 @@
 CLEARFOG BOARD
 M:	Stefan Roese <[email protected]>
 S:	Maintained
-F:	board/soldrun/clearfog/
+F:	board/solidrun/clearfog/
 F:	include/configs/clearfog.h
 F:	configs/clearfog_defconfig
 F:	configs/clearfog_gt_8k_defconfig
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#7 lore raw

PATCH 4/11 atmel: gurnard: Complete DM migration

In reply to Simon Glass

Migrate to driver model for MMC, USB and clock.

---

 configs/gurnard_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/gurnard_defconfig +3 -0
index d19f485c1a..38361ac9b6 100644
@@ -25,6 +25,8 @@ CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="at91sam9g45-gurnard"
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_CLK=y
+CONFIG_DM_MMC=y
 CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
 CONFIG_ATMEL_NAND_HWECC=y
@@ -32,6 +34,7 @@ CONFIG_PHYLIB=y
 CONFIG_TIMER=y
 CONFIG_ATMEL_PIT_TIMER=y
 CONFIG_USB=y
+CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_DM_VIDEO=y
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#8 lore raw

PATCH 5/11 bubblegum_96: Complete DM migration

In reply to Simon Glass

Migrate to driver model for MMC.

---

 configs/bubblegum_96_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/bubblegum_96_defconfig +1 -0
index 89f811ae02..4239c6992c 100644
@@ -19,4 +19,5 @@ CONFIG_DEFAULT_DEVICE_TREE="bubblegum_96"
 CONFIG_CLK=y
 CONFIG_CLK_OWL=y
 CONFIG_CLK_S900=y
+CONFIG_DM_MMC=y
 CONFIG_OWL_SERIAL=y
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#9 lore raw

PATCH 6/11 arm: Remove s32v234evb board

In reply to Simon Glass

This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it.

---

 arch/arm/Kconfig                              |   1 -
 arch/arm/cpu/armv8/s32v234/Makefile           |   6 -
 arch/arm/cpu/armv8/s32v234/cpu.c              |  98 -----
 arch/arm/cpu/armv8/s32v234/cpu.h              |   7 -
 arch/arm/cpu/armv8/s32v234/generic.c          | 349 ------------------
 arch/arm/include/asm/arch-s32v234/clock.h     |  33 --
 arch/arm/include/asm/arch-s32v234/ddr.h       | 156 --------
 arch/arm/include/asm/arch-s32v234/imx-regs.h  | 328 ----------------
 arch/arm/include/asm/arch-s32v234/lpddr2.h    |  74 ----
 .../include/asm/arch-s32v234/mc_cgm_regs.h    | 253 -------------
 .../arm/include/asm/arch-s32v234/mc_me_regs.h | 198 ----------
 .../include/asm/arch-s32v234/mc_rgm_regs.h    |  30 --
 arch/arm/include/asm/arch-s32v234/mmdc.h      |  88 -----
 arch/arm/include/asm/arch-s32v234/siul.h      | 149 --------
 board/freescale/s32v234evb/Kconfig            |  23 --
 board/freescale/s32v234evb/MAINTAINERS        |   8 -
 board/freescale/s32v234evb/Makefile           |   9 -
 board/freescale/s32v234evb/clock.c            | 343 -----------------
 board/freescale/s32v234evb/lpddr2.c           | 136 -------
 board/freescale/s32v234evb/s32v234evb.c       | 182 ---------
 board/freescale/s32v234evb/s32v234evb.cfg     |  28 --
 configs/s32v234evb_defconfig                  |  17 -
 include/configs/s32v234evb.h                  | 190 ----------
 23 files changed, 2706 deletions(-)
 delete mode 100644 arch/arm/cpu/armv8/s32v234/Makefile
 delete mode 100644 arch/arm/cpu/armv8/s32v234/cpu.c
 delete mode 100644 arch/arm/cpu/armv8/s32v234/cpu.h
 delete mode 100644 arch/arm/cpu/armv8/s32v234/generic.c
 delete mode 100644 arch/arm/include/asm/arch-s32v234/clock.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/ddr.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/imx-regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/lpddr2.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mc_cgm_regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mc_me_regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mc_rgm_regs.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/mmdc.h
 delete mode 100644 arch/arm/include/asm/arch-s32v234/siul.h
 delete mode 100644 board/freescale/s32v234evb/Kconfig
 delete mode 100644 board/freescale/s32v234evb/MAINTAINERS
 delete mode 100644 board/freescale/s32v234evb/Makefile
 delete mode 100644 board/freescale/s32v234evb/clock.c
 delete mode 100644 board/freescale/s32v234evb/lpddr2.c
 delete mode 100644 board/freescale/s32v234evb/s32v234evb.c
 delete mode 100644 board/freescale/s32v234evb/s32v234evb.cfg
 delete mode 100644 configs/s32v234evb_defconfig
 delete mode 100644 include/configs/s32v234evb.h
arch/arm/Kconfig +0 -1
index 3c4af1f299..075005988e 100644
@@ -1652,7 +1652,6 @@ source "board/freescale/ls1012ardb/Kconfig"
 source "board/freescale/ls1012afrdm/Kconfig"
 source "board/freescale/lx2160a/Kconfig"
 source "board/freescale/mx35pdk/Kconfig"
-source "board/freescale/s32v234evb/Kconfig"
 source "board/grinn/chiliboard/Kconfig"
 source "board/gumstix/pepper/Kconfig"
 source "board/h2200/Kconfig"
arch/arm/cpu/armv8/s32v234/Makefile deleted +0 -6
deleted file mode 100644
index 3bdb98d995..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2013-2016, Freescale Semiconductor, Inc.
-
-obj-y += generic.o
-obj-y += cpu.o
arch/arm/cpu/armv8/s32v234/cpu.c deleted +0 -98

98 lines not on this page · raw message

arch/arm/cpu/armv8/s32v234/cpu.h deleted +0 -7
deleted file mode 100644
index 11c3a6b435..0000000000
@@ -1,7 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2014-2016, Freescale Semiconductor, Inc.
- */
-
-u32 cpu_mask(void);
-int cpu_numcores(void);
arch/arm/cpu/armv8/s32v234/generic.c deleted +0 -349

349 lines not on this page · raw message

arch/arm/include/asm/arch-s32v234/clock.h deleted +0 -33
deleted file mode 100644
index c60065444c..0000000000
@@ -1,33 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2015-2016, Freescale Semiconductor, Inc.
- */
-
-#ifndef __ASM_ARCH_CLOCK_H
-#define __ASM_ARCH_CLOCK_H
-
-#include <common.h>
-
-enum mxc_clock {
-	MXC_ARM_CLK = 0,
-	MXC_BUS_CLK,
-	MXC_PERIPHERALS_CLK,
-	MXC_UART_CLK,
-	MXC_USDHC_CLK,
-	MXC_FEC_CLK,
-	MXC_I2C_CLK,
-};
-enum pll_type {
-	ARM_PLL = 0,
-	PERIPH_PLL,
-	ENET_PLL,
-	DDR_PLL,
-	VIDEO_PLL,
-};
-
-unsigned int mxc_get_clock(enum mxc_clock clk);
-void clock_init(void);
-
-#define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
-
-#endif /* __ASM_ARCH_CLOCK_H */
arch/arm/include/asm/arch-s32v234/ddr.h deleted +0 -156

156 lines not on this page · raw message

arch/arm/include/asm/arch-s32v234/imx-regs.h deleted +0 -328

328 lines not on this page · raw message

arch/arm/include/asm/arch-s32v234/lpddr2.h deleted +0 -74

74 lines not on this page · raw message

arch/arm/include/asm/arch-s32v234/mc_cgm_regs.h deleted +0 -253

253 lines not on this page · raw message

arch/arm/include/asm/arch-s32v234/mc_me_regs.h deleted +0 -198

198 lines not on this page · raw message

arch/arm/include/asm/arch-s32v234/mc_rgm_regs.h deleted +0 -30
deleted file mode 100644
index 34501b2189..0000000000
@@ -1,30 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2015, Freescale Semiconductor, Inc.
- */
-
-#ifndef __ARCH_ARM_MACH_S32V234_MCRGM_REGS_H__
-#define __ARCH_ARM_MACH_S32V234_MCRGM_REGS_H__
-
-#define MC_RGM_DES			(MC_RGM_BASE_ADDR)
-#define MC_RGM_FES			(MC_RGM_BASE_ADDR + 0x300)
-#define MC_RGM_FERD			(MC_RGM_BASE_ADDR + 0x310)
-#define MC_RGM_FBRE			(MC_RGM_BASE_ADDR + 0x330)
-#define MC_RGM_FESS			(MC_RGM_BASE_ADDR + 0x340)
-#define MC_RGM_DDR_HE			(MC_RGM_BASE_ADDR + 0x350)
-#define MC_RGM_DDR_HS			(MC_RGM_BASE_ADDR + 0x354)
-#define MC_RGM_FRHE			(MC_RGM_BASE_ADDR + 0x358)
-#define MC_RGM_FREC			(MC_RGM_BASE_ADDR + 0x600)
-#define MC_RGM_FRET			(MC_RGM_BASE_ADDR + 0x607)
-#define MC_RGM_DRET			(MC_RGM_BASE_ADDR + 0x60B)
-
-/* function reset sources mask */
-#define F_SWT4				0x8000
-#define F_JTAG				0x400
-#define F_FCCU_SOFT			0x40
-#define F_FCCU_HARD			0x20
-#define F_SOFT_FUNC			0x8
-#define F_ST_DONE			0x4
-#define F_EXT_RST			0x1
-
-#endif /* __ARCH_ARM_MACH_S32V234_MCRGM_REGS_H__ */
arch/arm/include/asm/arch-s32v234/mmdc.h deleted +0 -88

88 lines not on this page · raw message

arch/arm/include/asm/arch-s32v234/siul.h deleted +0 -149

149 lines not on this page · raw message

board/freescale/s32v234evb/Kconfig deleted +0 -23
deleted file mode 100644
index e71dfc4ab2..0000000000
@@ -1,23 +0,0 @@
-if TARGET_S32V234EVB
-
-config SYS_CPU
-	string
-	default "armv8"
-
-config SYS_BOARD
-	string
-	default "s32v234evb"
-
-config SYS_VENDOR
-	string
-	default "freescale"
-
-config SYS_SOC
-	string
-	default "s32v234"
-
-config SYS_CONFIG_NAME
-	string
-	default "s32v234evb"
-
-endif
board/freescale/s32v234evb/MAINTAINERS deleted +0 -8
deleted file mode 100644
index 62b2e1b264..0000000000
@@ -1,8 +0,0 @@
-S32V234 Evaluation BOARD
-M:	Eddy PetriÈ™or <[email protected]>
-S:	Maintained
-F:	arch/arm/cpu/armv8/s32v234/
-F:	arch/arm/include/asm/arch-s32v234/
-F:	board/freescale/s32v234evb/
-F:	include/configs/s32v234evb.h
-F:	configs/s32v234evb_defconfig
board/freescale/s32v234evb/Makefile deleted +0 -9
deleted file mode 100644
index f6028e1277..0000000000
@@ -1,9 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2013-2015, Freescale Semiconductor, Inc.
-
-obj-y   := clock.o
-obj-y   += lpddr2.o
-obj-y   += s32v234evb.o
-
-#########################################################################
board/freescale/s32v234evb/clock.c deleted +0 -343

343 lines not on this page · raw message

board/freescale/s32v234evb/lpddr2.c deleted +0 -136

136 lines not on this page · raw message

board/freescale/s32v234evb/s32v234evb.c deleted +0 -182

182 lines not on this page · raw message

board/freescale/s32v234evb/s32v234evb.cfg deleted +0 -28
deleted file mode 100644
index 526b7d177f..0000000000
@@ -1,28 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2013-2015, Freescale Semiconductor, Inc.
- */
-
-/*
- * Refer doc/README.imximage for more details about how-to configure
- * and create imximage boot image
- *
- * The syntax is taken as close as possible with the kwbimage
- */
-#include <asm/mach-imx/imximage.cfg>
-
-/* image version */
-IMAGE_VERSION	2
-BOOT_FROM sd
-
-
-/*
- * Boot Device : one of qspi, sd:
- * qspi:   flash_offset: 0x1000
- * sd/mmc: flash_offset: 0x1000
- */
-
-
-#ifdef CONFIG_SECURE_BOOT
-SECURE_BOOT
-#endif
configs/s32v234evb_defconfig deleted +0 -17
deleted file mode 100644
index deb8c04c7a..0000000000
@@ -1,17 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_S32V234EVB=y
-CONFIG_SYS_TEXT_BASE=0x3E800000
-CONFIG_NR_DRAM_BANKS=1
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/s32v234evb/s32v234evb.cfg"
-CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="console=ttyLF0 root=/dev/ram rw"
-CONFIG_BOARD_EARLY_INIT_F=y
-CONFIG_CMD_BOOTZ=y
-CONFIG_CMD_MEMTEST=y
-CONFIG_ENV_IS_IN_MMC=y
-CONFIG_DM=y
-CONFIG_FSL_ESDHC=y
-CONFIG_DM_SERIAL=y
-CONFIG_FSL_LINFLEXUART=y
-CONFIG_OF_LIBFDT=y
include/configs/s32v234evb.h deleted +0 -190

190 lines not on this page · raw message

Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#10 lore raw

PATCH 7/11 arm: Remove ls1088ardb_sdcard_qspi_SECURE_BOOT board

In reply to Simon Glass

This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it.

---

 ...1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 69 -------------------
 1 file changed, 69 deletions(-)
 delete mode 100644 configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig deleted +0 -69
deleted file mode 100644
index 3a0c55566e..0000000000
@@ -1,69 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_LS1088ARDB=y
-CONFIG_SYS_TEXT_BASE=0x80400000
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
-CONFIG_FSL_LS_PPA=y
-CONFIG_SPL_MMC_SUPPORT=y
-CONFIG_SPL_SERIAL_SUPPORT=y
-CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
-CONFIG_NR_DRAM_BANKS=2
-CONFIG_SPL=y
-CONFIG_DISTRO_DEFAULTS=y
-# CONFIG_SYS_MALLOC_F is not set
-CONFIG_FIT_VERBOSE=y
-CONFIG_OF_BOARD_SETUP=y
-CONFIG_SYS_EXTRA_OPTIONS="SD_BOOT_QSPI"
-CONFIG_SD_BOOT=y
-CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
-# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_MISC_INIT_R=y
-# CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_SPL_TEXT_BASE=0x1800a000
-CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
-CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0
-CONFIG_SPL_CRYPTO_SUPPORT=y
-CONFIG_SPL_HASH_SUPPORT=y
-CONFIG_SPL_ENV_SUPPORT=y
-CONFIG_SPL_I2C_SUPPORT=y
-CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_CMD_GREPENV=y
-CONFIG_CMD_MEMTEST=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_SF=y
-CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_MP=y
-CONFIG_OF_CONTROL=y
-CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1088a-rdb"
-CONFIG_NET_RANDOM_ETHADDR=y
-CONFIG_DM=y
-CONFIG_SPL_DM=y
-CONFIG_SCSI_AHCI=y
-CONFIG_FSL_ESDHC=y
-CONFIG_DM_SPI_FLASH=y
-CONFIG_SPI_FLASH=y
-CONFIG_SPI_FLASH_SPANSION=y
-# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
-CONFIG_E1000=y
-CONFIG_MII=y
-CONFIG_PCI=y
-CONFIG_DM_PCI=y
-CONFIG_DM_PCI_COMPAT=y
-CONFIG_PCIE_LAYERSCAPE=y
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_DM_SPI=y
-CONFIG_FSL_DSPI=y
-CONFIG_FSL_QSPI=y
-CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_XHCI_HCD=y
-CONFIG_USB_XHCI_DWC3=y
-CONFIG_USB_DWC3=y
-CONFIG_RSA=y
-CONFIG_SPL_RSA=y
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#11 lore raw

PATCH 8/11 arm: Remove ls1046ardb_sdcard_SECURE_BOOT board

In reply to Simon Glass

This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it.

---

 .../ls1046ardb_sdcard_SECURE_BOOT_defconfig   | 65 -------------------
 1 file changed, 65 deletions(-)
 delete mode 100644 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig deleted +0 -65
deleted file mode 100644
index 5afe6447c1..0000000000
@@ -1,65 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_LS1046ARDB=y
-CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
-CONFIG_FSL_LS_PPA=y
-CONFIG_SPL_MMC_SUPPORT=y
-CONFIG_SPL_SERIAL_SUPPORT=y
-CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
-CONFIG_NR_DRAM_BANKS=2
-CONFIG_SPL=y
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_FIT_VERBOSE=y
-CONFIG_OF_BOARD_SETUP=y
-CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL"
-CONFIG_SD_BOOT=y
-CONFIG_BOOTDELAY=10
-CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550000.quadspi:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:16m(nand_uboot),48m(nand_kernel),448m(nand_free)"
-CONFIG_MISC_INIT_R=y
-CONFIG_SPL_TEXT_BASE=0x10000000
-CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
-CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110
-CONFIG_SPL_CRYPTO_SUPPORT=y
-CONFIG_SPL_HASH_SUPPORT=y
-CONFIG_SPL_ENV_SUPPORT=y
-CONFIG_SPL_I2C_SUPPORT=y
-CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_CMD_GPT=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_NAND=y
-CONFIG_CMD_PCI=y
-CONFIG_CMD_SF=y
-CONFIG_CMD_USB=y
-CONFIG_CMD_CACHE=y
-CONFIG_MP=y
-CONFIG_MTDPARTS_DEFAULT="mtdparts=1550000.quadspi:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:16m(nand_uboot),48m(nand_kernel),448m(nand_free)"
-# CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_OF_CONTROL=y
-CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-rdb"
-CONFIG_DM=y
-CONFIG_SPL_DM=y
-CONFIG_FSL_ESDHC=y
-CONFIG_SPI_FLASH=y
-CONFIG_PHYLIB=y
-CONFIG_PHY_AQUANTIA=y
-CONFIG_E1000=y
-CONFIG_PCI=y
-CONFIG_DM_PCI=y
-CONFIG_DM_PCI_COMPAT=y
-CONFIG_PCIE_LAYERSCAPE=y
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_DM_SPI=y
-CONFIG_FSL_QSPI=y
-CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_XHCI_HCD=y
-CONFIG_USB_XHCI_DWC3=y
-CONFIG_RSA=y
-CONFIG_SPL_RSA=y
-CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#12 lore raw

PATCH 9/11 arm: Remove ls1043ardb_sdcard_SECURE_BOOT board

In reply to Simon Glass

This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it.

---

 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   | 68 -------------------
 1 file changed, 68 deletions(-)
 delete mode 100644 configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig deleted +0 -68
deleted file mode 100644
index 90f3d251be..0000000000
@@ -1,68 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_LS1043ARDB=y
-CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
-CONFIG_FSL_LS_PPA=y
-CONFIG_SPL_MMC_SUPPORT=y
-CONFIG_SPL_SERIAL_SUPPORT=y
-CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
-CONFIG_NR_DRAM_BANKS=2
-CONFIG_SPL=y
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_FIT_VERBOSE=y
-CONFIG_OF_BOARD_SETUP=y
-CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
-CONFIG_SD_BOOT=y
-CONFIG_BOOTDELAY=10
-CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=60000000.nor:2m at 0x100000(nor_bank0_uboot),40m at 0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m at 0x4100000(nor_bank4_uboot),40m at 0x5100000(nor_bank4_fit),-(nor_bank4_user);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)"
-CONFIG_MISC_INIT_R=y
-CONFIG_SPL_TEXT_BASE=0x10000000
-CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
-CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110
-CONFIG_SPL_CRYPTO_SUPPORT=y
-CONFIG_SPL_HASH_SUPPORT=y
-CONFIG_SPL_ENV_SUPPORT=y
-CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_CMD_IMLS=y
-CONFIG_CMD_GPT=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_NAND=y
-CONFIG_CMD_SF=y
-CONFIG_CMD_USB=y
-CONFIG_CMD_CACHE=y
-CONFIG_MP=y
-CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:2m at 0x100000(nor_bank0_uboot),40m at 0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m at 0x4100000(nor_bank4_uboot),40m at 0x5100000(nor_bank4_fit),-(nor_bank4_user);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)"
-# CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_OF_CONTROL=y
-CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-rdb"
-CONFIG_DM=y
-CONFIG_SPL_DM=y
-CONFIG_FSL_ESDHC=y
-CONFIG_MTD_NOR_FLASH=y
-CONFIG_FLASH_CFI_DRIVER=y
-CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
-CONFIG_SYS_FLASH_CFI=y
-CONFIG_SPI_FLASH=y
-CONFIG_SF_DEFAULT_BUS=1
-CONFIG_PHYLIB=y
-CONFIG_PHY_GIGE=y
-CONFIG_E1000=y
-CONFIG_PCI=y
-CONFIG_DM_PCI=y
-CONFIG_DM_PCI_COMPAT=y
-CONFIG_PCIE_LAYERSCAPE=y
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_DM_SPI=y
-CONFIG_USB=y
-CONFIG_DM_USB=y
-CONFIG_USB_XHCI_HCD=y
-CONFIG_USB_XHCI_DWC3=y
-CONFIG_RSA=y
-CONFIG_SPL_RSA=y
-CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#13 lore raw

PATCH 10/11 evb-ast2500: Enable CONFIG_DM_MMC

In reply to Simon Glass

This board builds with this option (although it may not work). Enable it to stave off board removal for a bit.

---

 configs/evb-ast2500_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/evb-ast2500_defconfig +1 -0
index 7fb52d2732..bf630df565 100644
@@ -20,6 +20,7 @@ CONFIG_REGMAP=y
 CONFIG_CLK=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_ASPEED=y
+CONFIG_DM_MMC=y
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH=y
 CONFIG_FTGMAC100=y
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#14 lore raw

PATCH 10/11 evb-ast2500: Enable CONFIG_DM_MMC

Sounds good to me.

From: Simon Glass <[email protected]>
Date: Sat, May 11, 2019 at 12:26 PM
To: U-Boot Mailing List
Cc: Tom Rini, Marek Vasut, Simon Glass, Maxim Sloyko

Quoted 24 lines

This board builds with this option (although it may not work). Enable it to stave off board removal for a bit.

---

 configs/evb-ast2500_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/evb-ast2500_defconfig +1 -1
index 7fb52d2732..bf630df565 100644
@@ -20,6 +20,7 @@ CONFIG_REGMAP=y
 CONFIG_CLK=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_ASPEED=y
+CONFIG_DM_MMC=y
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH=y
 CONFIG_FTGMAC100=y
--

2.21.0.1020.gf2820cf01a-goog

Signature · 1 line
Maxim Sloyko
#15 lore raw

PATCH 11/11 vf610twr/_nand: Enable CONFIG_DM_MMC

In reply to Simon Glass

These board build with this option (but may not work). Enable it to stave off board removal for a bit.

---

 configs/vf610twr_defconfig      | 1 +
 configs/vf610twr_nand_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/vf610twr_defconfig +1 -0
index 24f8243300..ec7a940e46 100644
@@ -32,6 +32,7 @@ CONFIG_ENV_IS_IN_MMC=y
 CONFIG_DM=y
 CONFIG_DM_GPIO=y
 CONFIG_VYBRID_GPIO=y
+CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
 CONFIG_NAND_VF610_NFC=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
configs/vf610twr_nand_defconfig +1 -0
index 4dc8b82e6a..68dde0f121 100644
@@ -41,3 +41,4 @@ CONFIG_MII=y
 CONFIG_DM_SERIAL=y
 CONFIG_FSL_LPUART=y
 # CONFIG_EFI_LOADER is not set
+CONFIG_DM_MMC=y
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
#16 lore raw

cover dm: Removal of some boards due to DM_MMC deadline

In reply to Simon Glass

+ Peng, the new MMC maintainer

Quoted 2 lines · Simon Glass

This series starts the process of removing boards which have not been converted to driver model for MMC.

I'm sorry, no. Like I've been saying in the SPI thread, and I thought I had made clear elsewhere:
- This release we move the drivers to depend on BROKEN. Jagan has a patch right now that makes BROKEN make another warning happen, but I'm not 100% sure I like this, but also haven't had a chance to try my idea of just removing the driver from the build and seeing if the boards link, or how hard making them link again is.
- Next release we can remove the _drivers_ that depend on BROKEN.

Yes, this will result in a bunch of boards that aren't nearly so functional as they would be expected to be. This in turn might lead to:
- Someone stepping up as they care about the hardware
- Removing of the boards down the line when it's clear no one has been using them as there's a big window where generally key drivers aren't there anymore.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190511/3edf0c0d/attachment.sig>
#17 lore raw

cover dm: Removal of some boards due to DM_MMC deadline

Hi Tom,

Quoted 8 lines · Tom Rini

+ Peng, the new MMC maintainer

Quoted 2 lines · Simon Glass

This series starts the process of removing boards which have not been converted to driver model for MMC.

Quoted 8 lines

I'm sorry, no. Like I've been saying in the SPI thread, and I thought I had made clear elsewhere:
- This release we move the drivers to depend on BROKEN. Jagan has a patch right now that makes BROKEN make another warning happen, but I'm not 100% sure I like this, but also haven't had a chance to try my idea of just removing the driver from the build and seeing if the boards link, or how hard making them link again is.
- Next release we can remove the _drivers_ that depend on BROKEN.

Sorry I must have missed this, have had very little time in the past few months. I did see mention of BROKEN elsewhere but had somehow not made the connection.

Could we get a note added to MIGRATION.txt perhaps?

Quoted 7 lines

Yes, this will result in a bunch of boards that aren't nearly so functional as they would be expected to be. This in turn might lead to:
- Someone stepping up as they care about the hardware
- Removing of the boards down the line when it's clear no one has been using them as there's a big window where generally key drivers aren't there anymore.

Sounds like a great plan, and much better and easier than removal (which is a real pain to create patches for).

Regards,
Simon

#18 lore raw

cover dm: Removal of some boards due to DM_MMC deadline

Hi Tom,

Quoted 35 lines · Simon Glass

Hi Tom,

Quoted 8 lines · Tom Rini

+ Peng, the new MMC maintainer

Quoted 2 lines · Simon Glass

This series starts the process of removing boards which have not been converted to driver model for MMC.

Quoted 8 lines

I'm sorry, no. Like I've been saying in the SPI thread, and I thought I had made clear elsewhere:
- This release we move the drivers to depend on BROKEN. Jagan has a patch right now that makes BROKEN make another warning happen, but I'm not 100% sure I like this, but also haven't had a chance to try my idea of just removing the driver from the build and seeing if the boards link, or how hard making them link again is.
- Next release we can remove the _drivers_ that depend on BROKEN.

Sorry I must have missed this, have had very little time in the past few months. I did see mention of BROKEN elsewhere but had somehow not made the connection.

Could we get a note added to MIGRATION.txt perhaps?

Quoted 7 lines

Yes, this will result in a bunch of boards that aren't nearly so functional as they would be expected to be. This in turn might lead to:
- Someone stepping up as they care about the hardware
- Removing of the boards down the line when it's clear no one has been using them as there's a big window where generally key drivers aren't there anymore.

Quoted 2 lines

Sounds like a great plan, and much better and easier than removal (which is a real pain to create patches for).

I've hit a snag though. s32v234evb doesn't even support CONFIG_OF_CONTROL. What should we do in that case?

Regards,
Simon

#19 lore raw

cover dm: Removal of some boards due to DM_MMC deadline

Quoted 38 lines · Simon Glass

Hi Tom,

Quoted 35 lines · Simon Glass

Hi Tom,

Quoted 8 lines · Tom Rini

+ Peng, the new MMC maintainer

Quoted 2 lines · Simon Glass

This series starts the process of removing boards which have not been converted to driver model for MMC.

Quoted 8 lines

I'm sorry, no. Like I've been saying in the SPI thread, and I thought I had made clear elsewhere:
- This release we move the drivers to depend on BROKEN. Jagan has a patch right now that makes BROKEN make another warning happen, but I'm not 100% sure I like this, but also haven't had a chance to try my idea of just removing the driver from the build and seeing if the boards link, or how hard making them link again is.
- Next release we can remove the _drivers_ that depend on BROKEN.

Sorry I must have missed this, have had very little time in the past few months. I did see mention of BROKEN elsewhere but had somehow not made the connection.

Could we get a note added to MIGRATION.txt perhaps?

Quoted 7 lines

Yes, this will result in a bunch of boards that aren't nearly so functional as they would be expected to be. This in turn might lead to:
- Someone stepping up as they care about the hardware
- Removing of the boards down the line when it's clear no one has been using them as there's a big window where generally key drivers aren't there anymore.

Quoted 5 lines
Quoted 2 lines

Sounds like a great plan, and much better and easier than removal (which is a real pain to create patches for).

I've hit a snag though. s32v234evb doesn't even support CONFIG_OF_CONTROL. What should we do in that case?

This falls, sadly, into the same category as what to do about large swaths of PowerPC, and then some other architectures entirely.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190514/ee03a85e/attachment.sig>
#20 lore raw

cover dm: Removal of some boards due to DM_MMC deadline

In reply to Simon Glass
Quoted 20 lines · Simon Glass

Hi Tom,

Quoted 8 lines · Tom Rini

+ Peng, the new MMC maintainer

Quoted 2 lines · Simon Glass

This series starts the process of removing boards which have not been converted to driver model for MMC.

Quoted 8 lines

I'm sorry, no. Like I've been saying in the SPI thread, and I thought I had made clear elsewhere:
- This release we move the drivers to depend on BROKEN. Jagan has a patch right now that makes BROKEN make another warning happen, but I'm not 100% sure I like this, but also haven't had a chance to try my idea of just removing the driver from the build and seeing if the boards link, or how hard making them link again is.
- Next release we can remove the _drivers_ that depend on BROKEN.

Quoted 5 lines

Sorry I must have missed this, have had very little time in the past few months. I did see mention of BROKEN elsewhere but had somehow not made the connection.

Could we get a note added to MIGRATION.txt perhaps?

Yes, I should do that.

Quoted 9 lines
Quoted 6 lines

Yes, this will result in a bunch of boards that aren't nearly so functional as they would be expected to be. This in turn might lead to:
- Someone stepping up as they care about the hardware
- Removing of the boards down the line when it's clear no one has been using them as there's a big window where generally key drivers aren't there anymore.

Sounds like a great plan, and much better and easier than removal (which is a real pain to create patches for).

I've managed to make some progress on top of Jagan's series for SPI stuff such that after marking things BROKEN (and also after migrating some options to Kconfig) I can then do a commit that drops a bunch of SPI-related stuff from defconfigs (move env out of SPI and to nowhere, drop SPI from the config as there's no SPI controller, etc). I hope to finish that up soon so that it builds everything, and then clean it up enough to post (I realize now that say CMD_SF / CMD_SPI should depend on SPI_FLASH / SPI for example, and hadn't done that yet).

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190514/332ac757/attachment.sig>