Skip to contentSkip to conversation

spi: dm-conversion (part1)

PATCH Superseded Jagan Teki 10 participants 79 messages May 27, 2020 – Jul 8, 2020

Subsystems (4)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

v2 cover spi: dm-conversion (part1)

This series dropped nondm code from omap3, enabled a few boards with DM_SPI, DM_SPI_FLASH and finally dropped boards which didn't have DM, OF_CONTROL.

Chages for v2:
- included updates on missing boards which used omap3 spi
- added board maintainers

Travis-CI:
https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408

Any inputs?
Jagan.

Jagan Teki (23):
configs: igep00x0: Enable DM_SPI
am335x: sl50: Enable DM_SPI
am335x: baltos: Enable DM_SPI
am335x: igep003x: Enable DM_SPI
siemens: draco: Enable DM_SPI, DM_SPI_FLASH
siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH
siemens: rut: Enable DM_SPI, DM_SPI_FLASH
compulab: Drop cm_t54
compulab: Drop cm_t35
overo: Drop omap3 overo
pandora: Drop omap3 pandora
logicpd: Drop omap3 zoom1
quipos: Drop omap3 cairo
gumstix: Drop duovero
ti: Drop panda board
ti: Drop sdp4430 board
ti: Drop omap5 uevm
birdland: Drop bav335x
gumstix: Drop pepper
phytec: Drop pcm051
silica: Drop pengwyn
spi: omap3: Drop nondm code
doc: driver-model: Update SPI migration status

 arch/arm/Kconfig                         |   4 -
 arch/arm/mach-omap2/am33xx/Kconfig       |  36 --
 arch/arm/mach-omap2/omap3/Kconfig        |  42 --
 arch/arm/mach-omap2/omap4/Kconfig        |  12 -
 arch/arm/mach-omap2/omap5/Kconfig        |   8 -
 board/birdland/bav335x/Kconfig           |  23 -
 board/birdland/bav335x/MAINTAINERS       |  13 -
 board/birdland/bav335x/Makefile          |  11 -
 board/birdland/bav335x/README            |  31 --
 board/birdland/bav335x/board.c           | 432 -------------------
 board/birdland/bav335x/board.h           |  58 ---
 board/birdland/bav335x/mux.c             | 190 ---------
 board/birdland/bav335x/u-boot.lds        | 115 -----
 board/compulab/cm_t35/Kconfig            |  12 -
 board/compulab/cm_t35/MAINTAINERS        |   6 -
 board/compulab/cm_t35/Makefile           |   8 -
 board/compulab/cm_t35/cm_t35.c           | 513 -----------------------
 board/compulab/cm_t54/Kconfig            |  12 -
 board/compulab/cm_t54/MAINTAINERS        |   6 -
 board/compulab/cm_t54/Makefile           |   8 -
 board/compulab/cm_t54/cm_t54.c           | 261 ------------
 board/compulab/cm_t54/mux.c              |  94 -----
 board/compulab/cm_t54/spl.c              |  65 ---
 board/gumstix/duovero/Kconfig            |  12 -
 board/gumstix/duovero/MAINTAINERS        |   6 -
 board/gumstix/duovero/Makefile           |   6 -
 board/gumstix/duovero/duovero.c          | 273 ------------
 board/gumstix/duovero/duovero_mux_data.h | 198 ---------
 board/gumstix/pepper/Kconfig             |  15 -
 board/gumstix/pepper/MAINTAINERS         |   6 -
 board/gumstix/pepper/Makefile            |  11 -
 board/gumstix/pepper/board.c             | 288 -------------
 board/gumstix/pepper/board.h             |  31 --
 board/gumstix/pepper/mux.c               |  82 ----
 board/logicpd/zoom1/Kconfig              |  12 -
 board/logicpd/zoom1/MAINTAINERS          |   6 -
 board/logicpd/zoom1/Makefile             |   6 -
 board/logicpd/zoom1/config.mk            |  14 -
 board/logicpd/zoom1/zoom1.c              | 148 -------
 board/logicpd/zoom1/zoom1.h              | 122 ------
 board/overo/Kconfig                      |   9 -
 board/overo/MAINTAINERS                  |   6 -
 board/overo/Makefile                     |  10 -
 board/overo/common.c                     | 368 ----------------
 board/overo/overo.c                      | 411 ------------------
 board/overo/overo.h                      | 169 --------
 board/overo/spl.c                        |  61 ---
 board/pandora/Kconfig                    |   9 -
 board/pandora/MAINTAINERS                |   6 -
 board/pandora/Makefile                   |   6 -
 board/pandora/pandora.c                  | 149 -------
 board/pandora/pandora.h                  | 391 -----------------
 board/phytec/pcm051/Kconfig              |  15 -
 board/phytec/pcm051/MAINTAINERS          |   7 -
 board/phytec/pcm051/Makefile             |  11 -
 board/phytec/pcm051/board.c              | 258 ------------
 board/phytec/pcm051/board.h              |  24 --
 board/phytec/pcm051/mux.c                | 127 ------
 board/quipos/cairo/Kconfig               |  12 -
 board/quipos/cairo/MAINTAINERS           |   6 -
 board/quipos/cairo/Makefile              |   6 -
 board/quipos/cairo/cairo.c               |  98 -----
 board/quipos/cairo/cairo.h               | 318 --------------
 board/silica/pengwyn/Kconfig             |  15 -
 board/silica/pengwyn/MAINTAINERS         |   6 -
 board/silica/pengwyn/Makefile            |  11 -
 board/silica/pengwyn/board.c             | 204 ---------
 board/silica/pengwyn/board.h             |  14 -
 board/silica/pengwyn/mux.c               |  97 -----
 board/ti/omap5_uevm/Kconfig              |  12 -
 board/ti/omap5_uevm/MAINTAINERS          |   6 -
 board/ti/omap5_uevm/Makefile             |   6 -
 board/ti/omap5_uevm/README               |  25 --
 board/ti/omap5_uevm/evm.c                | 283 -------------
 board/ti/omap5_uevm/mux_data.h           |  57 ---
 board/ti/panda/Kconfig                   |  12 -
 board/ti/panda/MAINTAINERS               |   6 -
 board/ti/panda/Makefile                  |   6 -
 board/ti/panda/panda.c                   | 346 ---------------
 board/ti/panda/panda_mux_data.h          |  86 ----
 board/ti/sdp4430/Kconfig                 |  15 -
 board/ti/sdp4430/MAINTAINERS             |   6 -
 board/ti/sdp4430/Makefile                |  10 -
 board/ti/sdp4430/cmd_bat.c               |  41 --
 board/ti/sdp4430/sdp.c                   | 100 -----
 board/ti/sdp4430/sdp4430_mux_data.h      |  67 ---
 configs/am335x_baltos_defconfig          |   1 +
 configs/am335x_igep003x_defconfig        |   1 +
 configs/am335x_sl50_defconfig            |   1 +
 configs/birdland_bav335a_defconfig       |  69 ---
 configs/birdland_bav335b_defconfig       |  69 ---
 configs/cairo_defconfig                  |  40 --
 configs/cm_t35_defconfig                 |  65 ---
 configs/cm_t54_defconfig                 |  53 ---
 configs/draco_defconfig                  |   4 +
 configs/duovero_defconfig                |  42 --
 configs/etamin_defconfig                 |   4 +
 configs/igep00x0_defconfig               |   1 +
 configs/omap3_overo_defconfig            |  53 ---
 configs/omap3_pandora_defconfig          |  40 --
 configs/omap3_zoom1_defconfig            |  41 --
 configs/omap4_panda_defconfig            |  42 --
 configs/omap4_sdp4430_defconfig          |  42 --
 configs/omap5_uevm_defconfig             |  55 ---
 configs/pcm051_rev1_defconfig            |  60 ---
 configs/pcm051_rev3_defconfig            |  60 ---
 configs/pengwyn_defconfig                |  67 ---
 configs/pepper_defconfig                 |  42 --
 configs/pxm2_defconfig                   |   4 +
 configs/rastaban_defconfig               |   4 +
 configs/rut_defconfig                    |   4 +
 configs/thuban_defconfig                 |   4 +
 doc/README.omap3                         |  16 -
 doc/driver-model/migration.rst           |   2 -
 drivers/spi/Kconfig                      |  14 +-
 drivers/spi/omap3_spi.c                  | 136 ------
 include/configs/bav335x.h                | 475 ---------------------
 include/configs/cm_t35.h                 | 249 -----------
 include/configs/cm_t54.h                 | 120 ------
 include/configs/duovero.h                |  36 --
 include/configs/omap3_cairo.h            | 215 ----------
 include/configs/omap3_overo.h            | 184 --------
 include/configs/omap3_pandora.h          |  62 ---
 include/configs/omap3_zoom1.h            | 131 ------
 include/configs/omap4_panda.h            |  34 --
 include/configs/omap4_sdp4430.h          |  25 --
 include/configs/omap5_uevm.h             |  62 ---
 include/configs/pcm051.h                 | 128 ------
 include/configs/pengwyn.h                | 166 --------
 include/configs/pepper.h                 |  78 ----
 include/configs/siemens-am33x-common.h   |   3 -
 include/configs/ti_omap4_common.h        |   2 -
 132 files changed, 35 insertions(+), 10075 deletions(-)
 delete mode 100644 board/birdland/bav335x/Kconfig
 delete mode 100644 board/birdland/bav335x/MAINTAINERS
 delete mode 100644 board/birdland/bav335x/Makefile
 delete mode 100644 board/birdland/bav335x/README
 delete mode 100644 board/birdland/bav335x/board.c
 delete mode 100644 board/birdland/bav335x/board.h
 delete mode 100644 board/birdland/bav335x/mux.c
 delete mode 100644 board/birdland/bav335x/u-boot.lds
 delete mode 100644 board/compulab/cm_t35/Kconfig
 delete mode 100644 board/compulab/cm_t35/MAINTAINERS
 delete mode 100644 board/compulab/cm_t35/Makefile
 delete mode 100644 board/compulab/cm_t35/cm_t35.c
 delete mode 100644 board/compulab/cm_t54/Kconfig
 delete mode 100644 board/compulab/cm_t54/MAINTAINERS
 delete mode 100644 board/compulab/cm_t54/Makefile
 delete mode 100644 board/compulab/cm_t54/cm_t54.c
 delete mode 100644 board/compulab/cm_t54/mux.c
 delete mode 100644 board/compulab/cm_t54/spl.c
 delete mode 100644 board/gumstix/duovero/Kconfig
 delete mode 100644 board/gumstix/duovero/MAINTAINERS
 delete mode 100644 board/gumstix/duovero/Makefile
 delete mode 100644 board/gumstix/duovero/duovero.c
 delete mode 100644 board/gumstix/duovero/duovero_mux_data.h
 delete mode 100644 board/gumstix/pepper/Kconfig
 delete mode 100644 board/gumstix/pepper/MAINTAINERS
 delete mode 100644 board/gumstix/pepper/Makefile
 delete mode 100644 board/gumstix/pepper/board.c
 delete mode 100644 board/gumstix/pepper/board.h
 delete mode 100644 board/gumstix/pepper/mux.c
 delete mode 100644 board/logicpd/zoom1/Kconfig
 delete mode 100644 board/logicpd/zoom1/MAINTAINERS
 delete mode 100644 board/logicpd/zoom1/Makefile
 delete mode 100644 board/logicpd/zoom1/config.mk
 delete mode 100644 board/logicpd/zoom1/zoom1.c
 delete mode 100644 board/logicpd/zoom1/zoom1.h
 delete mode 100644 board/overo/Kconfig
 delete mode 100644 board/overo/MAINTAINERS
 delete mode 100644 board/overo/Makefile
 delete mode 100644 board/overo/common.c
 delete mode 100644 board/overo/overo.c
 delete mode 100644 board/overo/overo.h
 delete mode 100644 board/overo/spl.c
 delete mode 100644 board/pandora/Kconfig
 delete mode 100644 board/pandora/MAINTAINERS
 delete mode 100644 board/pandora/Makefile
 delete mode 100644 board/pandora/pandora.c
 delete mode 100644 board/pandora/pandora.h
 delete mode 100644 board/phytec/pcm051/Kconfig
 delete mode 100644 board/phytec/pcm051/MAINTAINERS
 delete mode 100644 board/phytec/pcm051/Makefile
 delete mode 100644 board/phytec/pcm051/board.c
 delete mode 100644 board/phytec/pcm051/board.h
 delete mode 100644 board/phytec/pcm051/mux.c
 delete mode 100644 board/quipos/cairo/Kconfig
 delete mode 100644 board/quipos/cairo/MAINTAINERS
 delete mode 100644 board/quipos/cairo/Makefile
 delete mode 100644 board/quipos/cairo/cairo.c
 delete mode 100644 board/quipos/cairo/cairo.h
 delete mode 100644 board/silica/pengwyn/Kconfig
 delete mode 100644 board/silica/pengwyn/MAINTAINERS
 delete mode 100644 board/silica/pengwyn/Makefile
 delete mode 100644 board/silica/pengwyn/board.c
 delete mode 100644 board/silica/pengwyn/board.h
 delete mode 100644 board/silica/pengwyn/mux.c
 delete mode 100644 board/ti/omap5_uevm/Kconfig
 delete mode 100644 board/ti/omap5_uevm/MAINTAINERS
 delete mode 100644 board/ti/omap5_uevm/Makefile
 delete mode 100644 board/ti/omap5_uevm/README
 delete mode 100644 board/ti/omap5_uevm/evm.c
 delete mode 100644 board/ti/omap5_uevm/mux_data.h
 delete mode 100644 board/ti/panda/Kconfig
 delete mode 100644 board/ti/panda/MAINTAINERS
 delete mode 100644 board/ti/panda/Makefile
 delete mode 100644 board/ti/panda/panda.c
 delete mode 100644 board/ti/panda/panda_mux_data.h
 delete mode 100644 board/ti/sdp4430/Kconfig
 delete mode 100644 board/ti/sdp4430/MAINTAINERS
 delete mode 100644 board/ti/sdp4430/Makefile
 delete mode 100644 board/ti/sdp4430/cmd_bat.c
 delete mode 100644 board/ti/sdp4430/sdp.c
 delete mode 100644 board/ti/sdp4430/sdp4430_mux_data.h
 delete mode 100644 configs/birdland_bav335a_defconfig
 delete mode 100644 configs/birdland_bav335b_defconfig
 delete mode 100644 configs/cairo_defconfig
 delete mode 100644 configs/cm_t35_defconfig
 delete mode 100644 configs/cm_t54_defconfig
 delete mode 100644 configs/duovero_defconfig
 delete mode 100644 configs/omap3_overo_defconfig
 delete mode 100644 configs/omap3_pandora_defconfig
 delete mode 100644 configs/omap3_zoom1_defconfig
 delete mode 100644 configs/omap4_panda_defconfig
 delete mode 100644 configs/omap4_sdp4430_defconfig
 delete mode 100644 configs/omap5_uevm_defconfig
 delete mode 100644 configs/pcm051_rev1_defconfig
 delete mode 100644 configs/pcm051_rev3_defconfig
 delete mode 100644 configs/pengwyn_defconfig
 delete mode 100644 configs/pepper_defconfig
 delete mode 100644 include/configs/bav335x.h
 delete mode 100644 include/configs/cm_t35.h
 delete mode 100644 include/configs/cm_t54.h
 delete mode 100644 include/configs/duovero.h
 delete mode 100644 include/configs/omap3_cairo.h
 delete mode 100644 include/configs/omap3_overo.h
 delete mode 100644 include/configs/omap3_pandora.h
 delete mode 100644 include/configs/omap3_zoom1.h
 delete mode 100644 include/configs/omap4_panda.h
 delete mode 100644 include/configs/omap4_sdp4430.h
 delete mode 100644 include/configs/omap5_uevm.h
 delete mode 100644 include/configs/pcm051.h
 delete mode 100644 include/configs/pengwyn.h
 delete mode 100644 include/configs/pepper.h
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH v2 1/23 configs: igep00x0: Enable DM_SPI

Enable DM_SPI for igep00x0 board.

Build is fine, but not tested.

Cc Enric Balletbo i Serra <[email protected]>

---
Changes for v2:
- none

 configs/igep00x0_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/igep00x0_defconfig +1 -0
index a5c301dbdb..d32c017907 100644
@@ -62,6 +62,7 @@ CONFIG_SMC911X_BASE=0x2C000000
 CONFIG_SMC911X_32_BIT=y
 CONFIG_CONS_INDEX=3
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_BCH=y
 CONFIG_FDT_FIXUP_PARTITIONS=y
Signature · 1 line
2.25.1
#2 lore raw

PATCH v2 1/23 configs: igep00x0: Enable DM_SPI

Hi Jagan,

Quoted 6 lines · Jagan Teki

Enable DM_SPI for igep00x0 board.

Build is fine, but not tested.

Cc Enric Balletbo i Serra <[email protected]>
Quoted 20 lines

---
Changes for v2:
- none

 configs/igep00x0_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/igep00x0_defconfig +1 -0
index a5c301dbdb..d32c017907 100644
@@ -62,6 +62,7 @@ CONFIG_SMC911X_BASE=0x2C000000
 CONFIG_SMC911X_32_BIT=y
 CONFIG_CONS_INDEX=3
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_BCH=y
 CONFIG_FDT_FIXUP_PARTITIONS=y
author
#4 lore raw

PATCH v2 2/23 am335x: sl50: Enable DM_SPI

In reply to Jagan Teki

Enable DM_SPI for am355x sl50 board.

Build is fine, but not tested.

Cc Enric Balletbo i Serra <[email protected]>

---
Changes for v2:
- new patch

 configs/am335x_sl50_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/am335x_sl50_defconfig +1 -0
index 238164a55f..0aeaad577e 100644
@@ -52,6 +52,7 @@ CONFIG_PHY_SMSC=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_FAT_WRITE=y
 CONFIG_LZO=y
Signature · 1 line
2.25.1
#5 lore raw

PATCH v2 2/23 am335x: sl50: Enable DM_SPI

Hi Jagan,

Quoted 6 lines · Jagan Teki

Enable DM_SPI for am355x sl50 board.

Build is fine, but not tested.

Cc Enric Balletbo i Serra <[email protected]>
Quoted 20 lines

---
Changes for v2:
- new patch

 configs/am335x_sl50_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/am335x_sl50_defconfig +1 -0
index 238164a55f..0aeaad577e 100644
@@ -52,6 +52,7 @@ CONFIG_PHY_SMSC=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_FAT_WRITE=y
 CONFIG_LZO=y
author
#7 lore raw

PATCH v2 3/23 am335x: baltos: Enable DM_SPI

In reply to Jagan Teki

Enable DM_SPI for am355x baltos board.

Build is fine, but not tested.

Cc Yegor Yefremov <[email protected]>

---
Changes for v2:
- new patch

 configs/am335x_baltos_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/am335x_baltos_defconfig +1 -0
index 2781d49daf..c92e0cc330 100644
@@ -60,6 +60,7 @@ CONFIG_DM_MDIO=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
Signature · 1 line
2.25.1
author
#8 lore raw

PATCH v2 3/23 am335x: baltos: Enable DM_SPI

Quoted 6 lines · Jagan Teki

Enable DM_SPI for am355x baltos board.

Build is fine, but not tested.

Cc Yegor Yefremov <[email protected]>

Any comments?

author
#10 lore raw

PATCH v2 3/23 am335x: baltos: Enable DM_SPI

Quoted 7 lines · Yegor Yefremov
Quoted 5 lines · Jagan Teki
Quoted 3 lines · Jagan Teki

Enable DM_SPI for am355x baltos board.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Build is fine, but not tested.

Cc Yegor Yefremov <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#11 lore raw

PATCH v2 4/23 am335x: igep003x: Enable DM_SPI

In reply to Jagan Teki

Enable DM_SPI for am355x igep003x board.

Build is fine, but not tested.

Cc Javier Mart?nez Canillas <[email protected]>

---
Changes for v2:
- new patch

 configs/am335x_igep003x_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/am335x_igep003x_defconfig +1 -0
index 633c35f77b..e2fc7f62e9 100644
@@ -71,6 +71,7 @@ CONFIG_PHY_SMSC=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_FAT_WRITE=y
 CONFIG_FDT_FIXUP_PARTITIONS=y
Signature · 1 line
2.25.1
author
#12 lore raw

PATCH v2 4/23 am335x: igep003x: Enable DM_SPI

Quoted 19 lines · Jagan Teki

Enable DM_SPI for am355x igep003x board.

Build is fine, but not tested.

Cc Javier Mart?nez Canillas <[email protected]>

---
Changes for v2:
- new patch

 configs/am335x_igep003x_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/am335x_igep003x_defconfig +0 -0
index 633c35f77b..e2fc7f62e9 100644

configs/am335x_igep003x_defconfig CONFIG_PHY_SMSC=y · line 74

Quoted 4 lines
configs/am335x_igep003x_defconfig +1 -0
@@ -71,6 +71,7 @@ CONFIG_PHY_SMSC=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y

Any comments?

author
#13 lore raw

PATCH v2 4/23 am335x: igep003x: Enable DM_SPI

Quoted 16 lines · Jagan Teki
Quoted 14 lines · Jagan Teki

Enable DM_SPI for am355x igep003x board.

Build is fine, but not tested.

Cc Javier Mart?nez Canillas <[email protected]>

---
Changes for v2:
- new patch

 configs/am335x_igep003x_defconfig | 1 +
 1 file changed, 1 insertion(+)
Quoted 11 lines

configs/am335x_igep003x_defconfig CONFIG_PHY_SMSC=y · line 74

Quoted 9 lines
configs/am335x_igep003x_defconfig +1 -0
index 633c35f77b..e2fc7f62e9 100644
@@ -71,6 +71,7 @@ CONFIG_PHY_SMSC=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y

Any comments?

Applied to u-boot-spi/master

author
#14 lore raw

PATCH v2 5/23 siemens: draco: Enable DM_SPI, DM_SPI_FLASH

In reply to Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens draco board.

Build is fine, but not tested.

---
Changes for v2:
- new patch

 configs/draco_defconfig                | 4 ++++
 configs/etamin_defconfig               | 4 ++++
 configs/rastaban_defconfig             | 4 ++++
 configs/thuban_defconfig               | 4 ++++
 include/configs/siemens-am33x-common.h | 3 ---
 5 files changed, 16 insertions(+), 3 deletions(-)
configs/draco_defconfig +4 -0
index 4c326211d7..48fd0c750d 100644
@@ -58,11 +58,13 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(
 CONFIG_CMD_UBI=y
 # CONFIG_DOS_PARTITION is not set
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-draco"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
@@ -70,12 +72,14 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
 CONFIG_PHY_SMSC=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/etamin_defconfig +4 -0
index 16202c848c..36fb19e410 100644
@@ -59,11 +59,13 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand_concat:512k(spl),512k(spl.backup1),
 CONFIG_CMD_UBI=y
 # CONFIG_DOS_PARTITION is not set
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-draco"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
@@ -71,12 +73,14 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
 CONFIG_PHY_SMSC=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/rastaban_defconfig +4 -0
index c4a4e13737..ed761326d7 100644
@@ -58,11 +58,13 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(
 CONFIG_CMD_UBI=y
 # CONFIG_DOS_PARTITION is not set
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-draco"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
@@ -70,12 +72,14 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
 CONFIG_PHY_SMSC=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/thuban_defconfig +4 -0
index d81981a827..139318da28 100644
@@ -58,11 +58,13 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(
 CONFIG_CMD_UBI=y
 # CONFIG_DOS_PARTITION is not set
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-draco"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
@@ -70,12 +72,14 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
 CONFIG_PHY_SMSC=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
include/configs/siemens-am33x-common.h +0 -3
index ed93117650..0746b229c6 100644
@@ -68,10 +68,7 @@
 #define CONFIG_SYS_PTV			2	/* Divisor: 2^(PTV+1) => 8 */
 
 /* NS16550 Configuration */
-#ifdef CONFIG_SPL_BUILD
 #define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#endif
 #define CONFIG_SYS_NS16550_CLK		(48000000)
 #define CONFIG_SYS_NS16550_COM1		0x44e09000
 #define CONFIG_SYS_NS16550_COM4		0x481a6000
Signature · 1 line
2.25.1
author
#15 lore raw

PATCH v2 5/23 siemens: draco: Enable DM_SPI, DM_SPI_FLASH

Quoted 6 lines · Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens draco board.

Build is fine, but not tested.

Cc Samuel Egli <[email protected]>

Any comments?

author
#16 lore raw

PATCH v2 5/23 siemens: draco: Enable DM_SPI, DM_SPI_FLASH

Quoted 10 lines · Jagan Teki
Quoted 6 lines · Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens draco board.

Build is fine, but not tested.

Cc Samuel Egli <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#17 lore raw

PATCH v2 6/23 siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH

In reply to Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens pxm2 board.

Build is fine, but not tested.

---
Changes for v2:
- new patch

 configs/pxm2_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/pxm2_defconfig +4 -0
index 67de086c0b..51c60b6a5c 100644
@@ -59,10 +59,12 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(spl.backup2),128k(spl.backup3),1920k(u-boot),128k(uboot.env),5120k(kernel_a),5120k(kernel_b),8192k(mtdoops),-(rootfs)"
 CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-pxm50"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
@@ -70,6 +72,7 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
@@ -77,6 +80,7 @@ CONFIG_PHY_ATHEROS=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
Signature · 1 line
2.25.1
author
#18 lore raw

PATCH v2 6/23 siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH

Quoted 6 lines · Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens pxm2 board.

Build is fine, but not tested.

Cc Samuel Egli <[email protected]>

Any comments?

author
#19 lore raw

PATCH v2 6/23 siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH

Quoted 10 lines · Jagan Teki
Quoted 6 lines · Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens pxm2 board.

Build is fine, but not tested.

Cc Samuel Egli <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#20 lore raw

PATCH v2 7/23 siemens: rut: Enable DM_SPI, DM_SPI_FLASH

In reply to Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens rut board.

Build is fine, but not tested.

---
Changes for v2:
- new patch

 configs/rut_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/rut_defconfig +4 -0
index 40c9de25c6..9cc7826846 100644
@@ -60,10 +60,12 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(spl.backup2),128k(spl.backup3),1920k(u-boot),128k(uboot.env),5120k(kernel_a),5120k(kernel_b),8192k(mtdoops),-(rootfs)"
 CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-rut"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
@@ -71,6 +73,7 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
@@ -78,6 +81,7 @@ CONFIG_PHY_NATSEMI=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
Signature · 1 line
2.25.1
author
#21 lore raw

PATCH v2 7/23 siemens: rut: Enable DM_SPI, DM_SPI_FLASH

Quoted 6 lines · Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens rut board.

Build is fine, but not tested.

Cc Samuel Egli <[email protected]>

Any comments?

author
#22 lore raw

PATCH v2 7/23 siemens: rut: Enable DM_SPI, DM_SPI_FLASH

Quoted 10 lines · Jagan Teki
Quoted 6 lines · Jagan Teki

Enable DM_SPI, DM_SPI_FLASH for siemens rut board.

Build is fine, but not tested.

Cc Samuel Egli <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#23 lore raw

PATCH v2 8/23 compulab: Drop cm_t54

In reply to Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Dmitry Lifshitz <[email protected]>

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap5/Kconfig |   4 -
 board/compulab/cm_t54/Kconfig     |  12 --
 board/compulab/cm_t54/MAINTAINERS |   6 -
 board/compulab/cm_t54/Makefile    |   8 -
 board/compulab/cm_t54/cm_t54.c    | 261 ------------------------------
 board/compulab/cm_t54/mux.c       |  94 -----------
 board/compulab/cm_t54/spl.c       |  65 --------
 configs/cm_t54_defconfig          |  53 ------
 include/configs/cm_t54.h          | 120 --------------
 9 files changed, 623 deletions(-)
 delete mode 100644 board/compulab/cm_t54/Kconfig
 delete mode 100644 board/compulab/cm_t54/MAINTAINERS
 delete mode 100644 board/compulab/cm_t54/Makefile
 delete mode 100644 board/compulab/cm_t54/cm_t54.c
 delete mode 100644 board/compulab/cm_t54/mux.c
 delete mode 100644 board/compulab/cm_t54/spl.c
 delete mode 100644 configs/cm_t54_defconfig
 delete mode 100644 include/configs/cm_t54.h
arch/arm/mach-omap2/omap5/Kconfig +0 -4
index fddbac9dec..a0c0b93a00 100644
@@ -9,9 +9,6 @@ choice
 	prompt "OMAP5 board select"
 	optional
 
-config TARGET_CM_T54
-	bool "CompuLab CM-T54"
-
 config TARGET_OMAP5_UEVM
 	bool "TI OMAP5 uEVM board"
 
@@ -156,7 +153,6 @@ endchoice
 endmenu
 endif
 
-source "board/compulab/cm_t54/Kconfig"
 source "board/ti/omap5_uevm/Kconfig"
 source "board/ti/dra7xx/Kconfig"
 source "board/ti/am57xx/Kconfig"
board/compulab/cm_t54/Kconfig deleted +0 -12
deleted file mode 100644
index 52d38804df..0000000000
@@ -1,12 +0,0 @@
-if TARGET_CM_T54
-
-config SYS_BOARD
-	default "cm_t54"
-
-config SYS_VENDOR
-	default "compulab"
-
-config SYS_CONFIG_NAME
-	default "cm_t54"
-
-endif
board/compulab/cm_t54/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 461fe098c0..0000000000
@@ -1,6 +0,0 @@
-CM_T54 BOARD
-M:	Dmitry Lifshitz <[email protected]>
-S:	Maintained
-F:	board/compulab/cm_t54/
-F:	include/configs/cm_t54.h
-F:	configs/cm_t54_defconfig
board/compulab/cm_t54/Makefile deleted +0 -8
deleted file mode 100644
index a907074414..0000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2014 Compulab Ltd - http://compulab.co.il/
-#
-# Author: Dmitry Lifshitz <[email protected]>
-
-obj-y += cm_t54.o
-obj-$(CONFIG_SPL_BUILD) += mux.o spl.o
board/compulab/cm_t54/cm_t54.c deleted +0 -261

261 lines not on this page · raw message

board/compulab/cm_t54/mux.c deleted +0 -94

94 lines not on this page · raw message

board/compulab/cm_t54/spl.c deleted +0 -65

65 lines not on this page · raw message

configs/cm_t54_defconfig deleted +0 -53

53 lines not on this page · raw message

include/configs/cm_t54.h deleted +0 -120

120 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#24 lore raw

PATCH v2 8/23 compulab: Drop cm_t54

Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Dmitry Lifshitz <[email protected]>

Any comments?

author
#25 lore raw

PATCH v2 8/23 compulab: Drop cm_t54

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Dmitry Lifshitz <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#26 lore raw

PATCH v2 9/23 compulab: Drop cm_t35

In reply to Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Igor Grinberg <[email protected]>

---
Changes for v2:
- update commit message head

 arch/arm/mach-omap2/omap3/Kconfig |   7 -
 board/compulab/cm_t35/Kconfig     |  12 -
 board/compulab/cm_t35/MAINTAINERS |   6 -
 board/compulab/cm_t35/Makefile    |   8 -
 board/compulab/cm_t35/cm_t35.c    | 513 ------------------------------
 configs/cm_t35_defconfig          |  65 ----
 include/configs/cm_t35.h          | 249 ---------------
 7 files changed, 860 deletions(-)
 delete mode 100644 board/compulab/cm_t35/Kconfig
 delete mode 100644 board/compulab/cm_t35/MAINTAINERS
 delete mode 100644 board/compulab/cm_t35/Makefile
 delete mode 100644 board/compulab/cm_t35/cm_t35.c
 delete mode 100644 configs/cm_t35_defconfig
 delete mode 100644 include/configs/cm_t35.h
arch/arm/mach-omap2/omap3/Kconfig +0 -7
index d75fab1530..34a845e9b6 100644
@@ -43,12 +43,6 @@ config TARGET_OMAP3_BEAGLE
 	select OMAP3_GPIO_6
 	imply CMD_DM
 
-config TARGET_CM_T35
-	bool "CompuLab CM-T3530 and CM-T3730 boards"
-	select OMAP3_GPIO_2
-	select OMAP3_GPIO_5
-	select OMAP3_GPIO_6 if LED_STATUS
-
 config TARGET_DEVKIT8000
 	bool "TimLL OMAP3 Devkit8000"
 	select DM
@@ -174,7 +168,6 @@ config SYS_SOC
 
 source "board/logicpd/am3517evm/Kconfig"
 source "board/ti/beagle/Kconfig"
-source "board/compulab/cm_t35/Kconfig"
 source "board/timll/devkit8000/Kconfig"
 source "board/ti/evm/Kconfig"
 source "board/isee/igep00x0/Kconfig"
board/compulab/cm_t35/Kconfig deleted +0 -12
deleted file mode 100644
index d87741f146..0000000000
@@ -1,12 +0,0 @@
-if TARGET_CM_T35
-
-config SYS_BOARD
-	default "cm_t35"
-
-config SYS_VENDOR
-	default "compulab"
-
-config SYS_CONFIG_NAME
-	default "cm_t35"
-
-endif
board/compulab/cm_t35/MAINTAINERS deleted +0 -6
deleted file mode 100644
index fc5d73f04c..0000000000
@@ -1,6 +0,0 @@
-CM_T35 BOARD
-M:	Igor Grinberg <[email protected]>
-S:	Maintained
-F:	board/compulab/cm_t35/
-F:	include/configs/cm_t35.h
-F:	configs/cm_t35_defconfig
board/compulab/cm_t35/Makefile deleted +0 -8
deleted file mode 100644
index 929c53c144..0000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2011 - 2013 CompuLab, Ltd. <www.compulab.co.il>
-#
-# Authors: Nikita Kiryanov <[email protected]>
-#	   Igor Grinberg <[email protected]>
-
-obj-y	+= cm_t35.o
board/compulab/cm_t35/cm_t35.c deleted +0 -513

513 lines not on this page · raw message

configs/cm_t35_defconfig deleted +0 -65

65 lines not on this page · raw message

include/configs/cm_t35.h deleted +0 -249

249 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#27 lore raw

PATCH v2 9/23 compulab: Drop cm_t35

Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Igor Grinberg <[email protected]>

Any comments?

author
#28 lore raw

PATCH v2 9/23 compulab: Drop cm_t35

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Igor Grinberg <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#29 lore raw

PATCH v2 10/23 overo: Drop omap3 overo

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Steve Sakoman <[email protected]>

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap3/Kconfig |  13 -
 board/overo/Kconfig               |   9 -
 board/overo/MAINTAINERS           |   6 -
 board/overo/Makefile              |  10 -
 board/overo/common.c              | 368 --------------------------
 board/overo/overo.c               | 411 ------------------------------
 board/overo/overo.h               | 169 ------------
 board/overo/spl.c                 |  61 -----
 configs/omap3_overo_defconfig     |  53 ----
 doc/README.omap3                  |   6 -
 include/configs/omap3_overo.h     | 184 -------------
 11 files changed, 1290 deletions(-)
 delete mode 100644 board/overo/Kconfig
 delete mode 100644 board/overo/MAINTAINERS
 delete mode 100644 board/overo/Makefile
 delete mode 100644 board/overo/common.c
 delete mode 100644 board/overo/overo.c
 delete mode 100644 board/overo/overo.h
 delete mode 100644 board/overo/spl.c
 delete mode 100644 configs/omap3_overo_defconfig
 delete mode 100644 include/configs/omap3_overo.h
arch/arm/mach-omap2/omap3/Kconfig +0 -13
index 34a845e9b6..306c2596d3 100644
@@ -68,18 +68,6 @@ config TARGET_OMAP3_IGEP00X0
 	select OMAP3_GPIO_6
 	imply CMD_DM
 
-config TARGET_OMAP3_OVERO
-	bool "OMAP35xx Gumstix Overo"
-	select DM
-	select DM_GPIO
-	select DM_SERIAL
-	select OMAP3_GPIO_2
-	select OMAP3_GPIO_3
-	select OMAP3_GPIO_4
-	select OMAP3_GPIO_5
-	select OMAP3_GPIO_6
-	imply CMD_DM
-
 config TARGET_OMAP3_ZOOM1
 	bool "TI Zoom1"
 	select DM
@@ -171,7 +159,6 @@ source "board/ti/beagle/Kconfig"
 source "board/timll/devkit8000/Kconfig"
 source "board/ti/evm/Kconfig"
 source "board/isee/igep00x0/Kconfig"
-source "board/overo/Kconfig"
 source "board/logicpd/zoom1/Kconfig"
 source "board/ti/am3517crane/Kconfig"
 source "board/pandora/Kconfig"
board/overo/Kconfig deleted +0 -9
deleted file mode 100644
index 74572a62be..0000000000
@@ -1,9 +0,0 @@
-if TARGET_OMAP3_OVERO
-
-config SYS_BOARD
-	default "overo"
-
-config SYS_CONFIG_NAME
-	default "omap3_overo"
-
-endif
board/overo/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 8f089e87f8..0000000000
@@ -1,6 +0,0 @@
-OVERO BOARD
-M:	Steve Sakoman <[email protected]>
-S:	Maintained
-F:	board/overo/
-F:	include/configs/omap3_overo.h
-F:	configs/omap3_overo_defconfig
board/overo/Makefile deleted +0 -10
deleted file mode 100644
index b62bab9fe4..0000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-ifdef CONFIG_SPL_BUILD
-obj-y	:= spl.o common.o
-else
-obj-y	:= overo.o common.o
-endif
board/overo/common.c deleted +0 -368

368 lines not on this page · raw message

board/overo/overo.c deleted +0 -411

411 lines not on this page · raw message

board/overo/overo.h deleted +0 -169

169 lines not on this page · raw message

board/overo/spl.c deleted +0 -61

61 lines not on this page · raw message

configs/omap3_overo_defconfig deleted +0 -53

53 lines not on this page · raw message

doc/README.omap3 +0 -6
index 00bcbdba9a..5ff9ee2bae 100644
@@ -56,12 +56,6 @@ make
 make omap3_zoom2_config
 make
 
-* CM-T35:
-
-make cm_t35_config
-make
-
-
 Custom commands
 ===============
 
include/configs/omap3_overo.h deleted +0 -184

184 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#30 lore raw

PATCH v2 10/23 overo: Drop omap3 overo

Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Steve Sakoman <[email protected]>

Any inputs?

author
#31 lore raw

PATCH v2 10/23 overo: Drop omap3 overo

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Steve Sakoman <[email protected]>

Any inputs?

Applied to u-boot-spi/master

author
#32 lore raw

PATCH v2 11/23 pandora: Drop omap3 pandora

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Grazvydas Ignotas <[email protected]>

---
Changes for v2:
- CCed board maintainer

 arch/arm/mach-omap2/omap3/Kconfig |   6 -
 board/pandora/Kconfig             |   9 -
 board/pandora/MAINTAINERS         |   6 -
 board/pandora/Makefile            |   6 -
 board/pandora/pandora.c           | 149 ------------
 board/pandora/pandora.h           | 391 ------------------------------
 configs/omap3_pandora_defconfig   |  40 ---
 doc/README.omap3                  |   5 -
 include/configs/omap3_pandora.h   |  62 -----
 9 files changed, 674 deletions(-)
 delete mode 100644 board/pandora/Kconfig
 delete mode 100644 board/pandora/MAINTAINERS
 delete mode 100644 board/pandora/Makefile
 delete mode 100644 board/pandora/pandora.c
 delete mode 100644 board/pandora/pandora.h
 delete mode 100644 configs/omap3_pandora_defconfig
 delete mode 100644 include/configs/omap3_pandora.h
arch/arm/mach-omap2/omap3/Kconfig +0 -6
index 306c2596d3..18068be076 100644
@@ -78,11 +78,6 @@ config TARGET_OMAP3_ZOOM1
 config TARGET_AM3517_CRANE
 	bool "am3517_crane"
 
-config TARGET_OMAP3_PANDORA
-	bool "OMAP3 Pandora"
-	select OMAP3_GPIO_4
-	select OMAP3_GPIO_6
-
 config TARGET_TRICORDER
 	bool "Tricorder"
 	select OMAP3_GPIO_2
@@ -161,7 +156,6 @@ source "board/ti/evm/Kconfig"
 source "board/isee/igep00x0/Kconfig"
 source "board/logicpd/zoom1/Kconfig"
 source "board/ti/am3517crane/Kconfig"
-source "board/pandora/Kconfig"
 source "board/corscience/tricorder/Kconfig"
 source "board/logicpd/omap3som/Kconfig"
 source "board/nokia/rx51/Kconfig"
board/pandora/Kconfig deleted +0 -9
deleted file mode 100644
index 0b33818008..0000000000
@@ -1,9 +0,0 @@
-if TARGET_OMAP3_PANDORA
-
-config SYS_BOARD
-	default "pandora"
-
-config SYS_CONFIG_NAME
-	default "omap3_pandora"
-
-endif
board/pandora/MAINTAINERS deleted +0 -6
deleted file mode 100644
index e12351735c..0000000000
@@ -1,6 +0,0 @@
-PANDORA BOARD
-M:	Grazvydas Ignotas <[email protected]>
-S:	Maintained
-F:	board/pandora/
-F:	include/configs/omap3_pandora.h
-F:	configs/omap3_pandora_defconfig
board/pandora/Makefile deleted +0 -6
deleted file mode 100644
index c05c8fb854..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= pandora.o
board/pandora/pandora.c deleted +0 -149

149 lines not on this page · raw message

board/pandora/pandora.h deleted +0 -391

391 lines not on this page · raw message

configs/omap3_pandora_defconfig deleted +0 -40
deleted file mode 100644
index d8ee7995de..0000000000
@@ -1,40 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_SYS_TEXT_BASE=0x80008000
-CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_TARGET_OMAP3_PANDORA=y
-CONFIG_NR_DRAM_BANKS=2
-CONFIG_DISTRO_DEFAULTS=y
-# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_SYS_CONSOLE_IS_IN_ENV=y
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_VERSION_VARIABLE=y
-CONFIG_SYS_PROMPT="Pandora # "
-# CONFIG_CMD_IMI is not set
-CONFIG_CMD_ASKENV=y
-# CONFIG_CMD_FLASH is not set
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_NAND=y
-CONFIG_CMD_SPI=y
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
-CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(xloader),1920k(uboot),128k(uboot-env),10m(boot),-(rootfs)"
-CONFIG_CMD_UBI=y
-CONFIG_ENV_IS_IN_NAND=y
-CONFIG_DM=y
-CONFIG_TWL4030_LED=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_MTD=y
-CONFIG_MTD_RAW_NAND=y
-CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
-CONFIG_DM_SERIAL=y
-CONFIG_SPI=y
-CONFIG_OMAP3_SPI=y
-CONFIG_FAT_WRITE=y
-CONFIG_OF_LIBFDT=y
doc/README.omap3 +0 -5
index 5ff9ee2bae..bf99cff848 100644
@@ -41,11 +41,6 @@ make
 make omap3_evm_config
 make
 
-* Pandora:
-
-make omap3_pandora_config
-make
-
 * Zoom MDK:
 
 make omap3_zoom1_config
include/configs/omap3_pandora.h deleted +0 -62

62 lines not on this page · raw message

Signature · 1 line
2.25.1
#33 lore raw

PATCH v2 11/23 pandora: Drop omap3 pandora

I'm not aware of any remaining mainline u-boot users of this device (also asked around a bit on IRC), so:

Gra?vydas

Quoted 1,119 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Grazvydas Ignotas <[email protected]>

---
Changes for v2:
- CCed board maintainer

 arch/arm/mach-omap2/omap3/Kconfig |   6 -
 board/pandora/Kconfig             |   9 -
 board/pandora/MAINTAINERS         |   6 -
 board/pandora/Makefile            |   6 -
 board/pandora/pandora.c           | 149 ------------
 board/pandora/pandora.h           | 391 ------------------------------
 configs/omap3_pandora_defconfig   |  40 ---
 doc/README.omap3                  |   5 -
 include/configs/omap3_pandora.h   |  62 -----
 9 files changed, 674 deletions(-)
 delete mode 100644 board/pandora/Kconfig
 delete mode 100644 board/pandora/MAINTAINERS
 delete mode 100644 board/pandora/Makefile
 delete mode 100644 board/pandora/pandora.c
 delete mode 100644 board/pandora/pandora.h
 delete mode 100644 configs/omap3_pandora_defconfig
 delete mode 100644 include/configs/omap3_pandora.h
arch/arm/mach-omap2/omap3/Kconfig +0 -6
index 306c2596d3..18068be076 100644
@@ -78,11 +78,6 @@ config TARGET_OMAP3_ZOOM1
 config TARGET_AM3517_CRANE
        bool "am3517_crane"
 
-config TARGET_OMAP3_PANDORA
-       bool "OMAP3 Pandora"
-       select OMAP3_GPIO_4
-       select OMAP3_GPIO_6
-
 config TARGET_TRICORDER
        bool "Tricorder"
        select OMAP3_GPIO_2
@@ -161,7 +156,6 @@ source "board/ti/evm/Kconfig"
 source "board/isee/igep00x0/Kconfig"
 source "board/logicpd/zoom1/Kconfig"
 source "board/ti/am3517crane/Kconfig"
-source "board/pandora/Kconfig"
 source "board/corscience/tricorder/Kconfig"
 source "board/logicpd/omap3som/Kconfig"
 source "board/nokia/rx51/Kconfig"
board/pandora/Kconfig deleted +0 -9
deleted file mode 100644
index 0b33818008..0000000000
@@ -1,9 +0,0 @@
-if TARGET_OMAP3_PANDORA
-
-config SYS_BOARD
-       default "pandora"
-
-config SYS_CONFIG_NAME
-       default "omap3_pandora"
-
-endif
board/pandora/MAINTAINERS deleted +0 -6
deleted file mode 100644
index e12351735c..0000000000
@@ -1,6 +0,0 @@
-PANDORA BOARD
-M:     Grazvydas Ignotas <[email protected]>
-S:     Maintained
-F:     board/pandora/
-F:     include/configs/omap3_pandora.h
-F:     configs/omap3_pandora_defconfig
board/pandora/Makefile deleted +0 -6
deleted file mode 100644
index c05c8fb854..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y  := pandora.o
board/pandora/pandora.c deleted +0 -128
deleted file mode 100644
index a93848666f..0000000000
@@ -1,149 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2008
- * Grazvydas Ignotas <[email protected]>
- *
- * Derived from Beagle Board, 3430 SDP, and OMAP3EVM code by
- *     Richard Woodruff <[email protected]>
- *     Syed Mohammed Khasim <[email protected]>
- *     Sunil Kumar <[email protected]>
- *     Shashi Ranjan <[email protected]>
- *
- * (C) Copyright 2004-2008
- * Texas Instruments, <www.ti.com>
- */
-#include <common.h>
-#include <dm.h>
-#include <init.h>
-#include <ns16550.h>
-#include <twl4030.h>
-#include <asm/io.h>
-#include <asm/gpio.h>
-#include <asm/arch/mmc_host_def.h>
-#include <asm/arch/mux.h>
-#include <asm/arch/gpio.h>
-#include <asm/arch/sys_proto.h>
-#include <asm/mach-types.h>
-#include <linux/delay.h>
-#include "pandora.h"
-
-DECLARE_GLOBAL_DATA_PTR;
-
-#define TWL4030_BB_CFG_BBCHEN          (1 << 4)
-#define TWL4030_BB_CFG_BBSEL_3200MV    (3 << 2)
-#define TWL4030_BB_CFG_BBISEL_500UA    2
-
-#define CONTROL_WKUP_CTRL              0x48002a5c
-#define GPIO_IO_PWRDNZ                 (1 << 6)
-#define PBIASLITEVMODE1                        (1 << 8)
-
-static const struct ns16550_platdata pandora_serial = {
-       .base = OMAP34XX_UART3,
-       .reg_shift = 2,
-       .clock = V_NS16550_CLK,
-       .fcr = UART_FCR_DEFVAL,
-};
-
-U_BOOT_DEVICE(pandora_uart) = {
-       "ns16550_serial",
-       &pandora_serial
-};
-
-/*
- * Routine: board_init
- * Description: Early hardware init.
- */
-int board_init(void)
-{
-       gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
-       /* board id for Linux */
-       gd->bd->bi_arch_number = MACH_TYPE_OMAP3_PANDORA;
-       /* boot param addr */
-       gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
-
-       return 0;
-}
-
-static void set_output_gpio(unsigned int gpio, int value)
-{
-       int ret;
-
-       ret = gpio_request(gpio, "");
-       if (ret != 0) {
-               printf("could not request GPIO %u\n", gpio);
-               return;
-       }
-       ret = gpio_direction_output(gpio, value);
-       if (ret != 0)
-               printf("could not set GPIO %u to %d\n", gpio, value);
-}
-
-/*
- * Routine: misc_init_r
- * Description: Configure board specific parts
- */
-int misc_init_r(void)
-{
-       t2_t *t2_base = (t2_t *)T2_BASE;
-       u32 pbias_lite;
-
-       twl4030_led_init(TWL4030_LED_LEDEN_LEDBON);
-
-       /* set up dual-voltage GPIOs to 1.8V */
-       pbias_lite = readl(&t2_base->pbias_lite);
-       pbias_lite &= ~PBIASLITEVMODE1;
-       pbias_lite |= PBIASLITEPWRDNZ1;
-       writel(pbias_lite, &t2_base->pbias_lite);
-       if (get_cpu_family() == CPU_OMAP36XX)
-               writel(readl(CONTROL_WKUP_CTRL) | GPIO_IO_PWRDNZ,
-                       CONTROL_WKUP_CTRL);
-
-       /* make sure audio and BT chips are in powerdown state */
-       set_output_gpio(14, 0);
-       set_output_gpio(15, 0);
-       set_output_gpio(118, 0);
-
-       /* enable USB supply */
-       set_output_gpio(164, 1);
-
-       /* wifi needs a short pulse to enter powersave state */
-       set_output_gpio(23, 1);
-       udelay(5000);
-       gpio_direction_output(23, 0);
-
-       /* Enable battery backup capacitor (3.2V, 0.5mA charge current) */
-       twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER,
-               TWL4030_PM_RECEIVER_BB_CFG,
-               TWL4030_BB_CFG_BBCHEN | TWL4030_BB_CFG_BBSEL_3200MV |
-               TWL4030_BB_CFG_BBISEL_500UA);
-
-       omap_die_id_display();
-
-       return 0;
-}
-
-/*
- * Routine: set_muxconf_regs
- * Description: Setting up the configuration Mux registers specific to the
- *             hardware. Many pins need to be moved from protect to

primary
- * mode.
- */

board/pandora/pandora.c deleted +0 -19
-void set_muxconf_regs(void)
-{
-       MUX_PANDORA();
-       if (get_cpu_family() == CPU_OMAP36XX) {
-               MUX_PANDORA_3730();
-       }
-}
-
-#ifdef CONFIG_MMC
-int board_mmc_init(bd_t *bis)
-{
-       return omap_mmc_init(0, 0, 0, -1, -1);
-}
-
-void board_mmc_power_init(void)
-{
-       twl4030_power_mmc_init(0);
-}
-#endif
board/pandora/pandora.h deleted +0 -27
deleted file mode 100644
index 9c4c5d1cd7..0000000000
@@ -1,391 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2008
- * Grazvydas Ignotas <[email protected]>
- */
-#ifndef _PANDORA_H_
-#define _PANDORA_H_
-
-const omap3_sysinfo sysinfo = {
-       DDR_STACKED,
-       "OMAP3 Pandora",
-       "NAND",
-};
-
-/*
- * IEN  - Input Enable
- * IDIS - Input Disable
- * PTD  - Pull type Down
- * PTU  - Pull type Up
- * DIS  - Pull type selection is inactive
- * EN  - Pull type selection is active
- * M0  - Mode 0
- * The commented string gives the final mux configuration for that pin
- */
-#define MUX_PANDORA() \
- /*SDRC*/\
-       MUX_VAL(CP(SDRC_D0),            (IEN  | PTD | DIS | M0))

/*SDRC_D0*/\
- MUX_VAL(CP(SDRC_D1), (IEN | PTD | DIS | M0))
/*SDRC_D1*/\
- MUX_VAL(CP(SDRC_D2), (IEN | PTD | DIS | M0))
/*SDRC_D2*/\
- MUX_VAL(CP(SDRC_D3), (IEN | PTD | DIS | M0))
/*SDRC_D3*/\
- MUX_VAL(CP(SDRC_D4), (IEN | PTD | DIS | M0))
/*SDRC_D4*/\
- MUX_VAL(CP(SDRC_D5), (IEN | PTD | DIS | M0))
/*SDRC_D5*/\
- MUX_VAL(CP(SDRC_D6), (IEN | PTD | DIS | M0))
/*SDRC_D6*/\
- MUX_VAL(CP(SDRC_D7), (IEN | PTD | DIS | M0))
/*SDRC_D7*/\
- MUX_VAL(CP(SDRC_D8), (IEN | PTD | DIS | M0))
/*SDRC_D8*/\
- MUX_VAL(CP(SDRC_D9), (IEN | PTD | DIS | M0))
/*SDRC_D9*/\
- MUX_VAL(CP(SDRC_D10), (IEN | PTD | DIS | M0))
/*SDRC_D10*/\
- MUX_VAL(CP(SDRC_D11), (IEN | PTD | DIS | M0))
/*SDRC_D11*/\
- MUX_VAL(CP(SDRC_D12), (IEN | PTD | DIS | M0))
/*SDRC_D12*/\
- MUX_VAL(CP(SDRC_D13), (IEN | PTD | DIS | M0))
/*SDRC_D13*/\
- MUX_VAL(CP(SDRC_D14), (IEN | PTD | DIS | M0))
/*SDRC_D14*/\
- MUX_VAL(CP(SDRC_D15), (IEN | PTD | DIS | M0))
/*SDRC_D15*/\
- MUX_VAL(CP(SDRC_D16), (IEN | PTD | DIS | M0))
/*SDRC_D16*/\
- MUX_VAL(CP(SDRC_D17), (IEN | PTD | DIS | M0))
/*SDRC_D17*/\
- MUX_VAL(CP(SDRC_D18), (IEN | PTD | DIS | M0))
/*SDRC_D18*/\
- MUX_VAL(CP(SDRC_D19), (IEN | PTD | DIS | M0))
/*SDRC_D19*/\
- MUX_VAL(CP(SDRC_D20), (IEN | PTD | DIS | M0))
/*SDRC_D20*/\
- MUX_VAL(CP(SDRC_D21), (IEN | PTD | DIS | M0))
/*SDRC_D21*/\
- MUX_VAL(CP(SDRC_D22), (IEN | PTD | DIS | M0))
/*SDRC_D22*/\
- MUX_VAL(CP(SDRC_D23), (IEN | PTD | DIS | M0))
/*SDRC_D23*/\
- MUX_VAL(CP(SDRC_D24), (IEN | PTD | DIS | M0))
/*SDRC_D24*/\
- MUX_VAL(CP(SDRC_D25), (IEN | PTD | DIS | M0))
/*SDRC_D25*/\
- MUX_VAL(CP(SDRC_D26), (IEN | PTD | DIS | M0))
/*SDRC_D26*/\
- MUX_VAL(CP(SDRC_D27), (IEN | PTD | DIS | M0))
/*SDRC_D27*/\
- MUX_VAL(CP(SDRC_D28), (IEN | PTD | DIS | M0))
/*SDRC_D28*/\
- MUX_VAL(CP(SDRC_D29), (IEN | PTD | DIS | M0))
/*SDRC_D29*/\
- MUX_VAL(CP(SDRC_D30), (IEN | PTD | DIS | M0))
/*SDRC_D30*/\
- MUX_VAL(CP(SDRC_D31), (IEN | PTD | DIS | M0))
/*SDRC_D31*/\
- MUX_VAL(CP(SDRC_CLK), (IEN | PTD | DIS | M0))
/*SDRC_CLK*/\
- MUX_VAL(CP(SDRC_DQS0), (IEN | PTD | DIS | M0))
/*SDRC_DQS0*/\
- MUX_VAL(CP(SDRC_DQS1), (IEN | PTD | DIS | M0))
/*SDRC_DQS1*/\
- MUX_VAL(CP(SDRC_DQS2), (IEN | PTD | DIS | M0))
/*SDRC_DQS2*/\
- MUX_VAL(CP(SDRC_DQS3), (IEN | PTD | DIS | M0))
/*SDRC_DQS3*/\
- /*GPMC*/\
- MUX_VAL(CP(GPMC_A1), (IDIS | PTD | DIS | M0))
/*GPMC_A1*/\
- MUX_VAL(CP(GPMC_A2), (IDIS | PTD | DIS | M0))
/*GPMC_A2*/\
- MUX_VAL(CP(GPMC_A3), (IDIS | PTD | DIS | M0))
/*GPMC_A3*/\
- MUX_VAL(CP(GPMC_A4), (IDIS | PTD | DIS | M0))
/*GPMC_A4*/\
- MUX_VAL(CP(GPMC_A5), (IDIS | PTD | DIS | M0))
/*GPMC_A5*/\
- MUX_VAL(CP(GPMC_A6), (IDIS | PTD | DIS | M0))
/*GPMC_A6*/\
- MUX_VAL(CP(GPMC_A7), (IDIS | PTD | DIS | M0))
/*GPMC_A7*/\
- MUX_VAL(CP(GPMC_A8), (IDIS | PTD | DIS | M0))
/*GPMC_A8*/\
- MUX_VAL(CP(GPMC_A9), (IDIS | PTD | DIS | M0))
/*GPMC_A9*/\
- MUX_VAL(CP(GPMC_A10), (IDIS | PTD | DIS | M0))
/*GPMC_A10*/\
- MUX_VAL(CP(GPMC_D0), (IEN | PTD | DIS | M0))
/*GPMC_D0*/\
- MUX_VAL(CP(GPMC_D1), (IEN | PTD | DIS | M0))
/*GPMC_D1*/\
- MUX_VAL(CP(GPMC_D2), (IEN | PTD | DIS | M0))
/*GPMC_D2*/\
- MUX_VAL(CP(GPMC_D3), (IEN | PTD | DIS | M0))
/*GPMC_D3*/\
- MUX_VAL(CP(GPMC_D4), (IEN | PTD | DIS | M0))
/*GPMC_D4*/\
- MUX_VAL(CP(GPMC_D5), (IEN | PTD | DIS | M0))
/*GPMC_D5*/\
- MUX_VAL(CP(GPMC_D6), (IEN | PTD | DIS | M0))
/*GPMC_D6*/\
- MUX_VAL(CP(GPMC_D7), (IEN | PTD | DIS | M0))
/*GPMC_D7*/\
- MUX_VAL(CP(GPMC_D8), (IEN | PTD | DIS | M0))
/*GPMC_D8*/\
- MUX_VAL(CP(GPMC_D9), (IEN | PTD | DIS | M0))
/*GPMC_D9*/\
- MUX_VAL(CP(GPMC_D10), (IEN | PTD | DIS | M0))
/*GPMC_D10*/\
- MUX_VAL(CP(GPMC_D11), (IEN | PTD | DIS | M0))
/*GPMC_D11*/\
- MUX_VAL(CP(GPMC_D12), (IEN | PTD | DIS | M0))
/*GPMC_D12*/\
- MUX_VAL(CP(GPMC_D13), (IEN | PTD | DIS | M0))
/*GPMC_D13*/\
- MUX_VAL(CP(GPMC_D14), (IEN | PTD | DIS | M0))
/*GPMC_D14*/\
- MUX_VAL(CP(GPMC_D15), (IEN | PTD | DIS | M0))
/*GPMC_D15*/\
- MUX_VAL(CP(GPMC_NCS0), (IDIS | PTU | EN | M0))
/*GPMC_nCS0*/\
- MUX_VAL(CP(GPMC_NCS1), (IDIS | PTU | EN | M0))
/*GPMC_nCS1*/\
- MUX_VAL(CP(GPMC_CLK), (IDIS | PTD | DIS | M0))
/*GPMC_CLK*/\
- MUX_VAL(CP(GPMC_NADV_ALE), (IDIS | PTD | DIS | M0))
/*GPMC_nADV_ALE*/\
- MUX_VAL(CP(GPMC_NOE), (IDIS | PTD | DIS | M0))
/*GPMC_nOE*/\
- MUX_VAL(CP(GPMC_NWE), (IDIS | PTD | DIS | M0))
/*GPMC_nWE*/\
- MUX_VAL(CP(GPMC_NBE0_CLE), (IDIS | PTD | DIS | M0))
/*GPMC_nBE0_CLE*/\
- MUX_VAL(CP(GPMC_NWP), (IEN | PTD | DIS | M0))
/*GPMC_nWP*/\
- MUX_VAL(CP(GPMC_WAIT0), (IEN | PTU | EN | M0))
/*GPMC_WAIT0*/\
- MUX_VAL(CP(GPMC_WAIT1), (IEN | PTU | EN | M0))
/*GPMC_WAIT1*/\
- /*DSS*/\
- MUX_VAL(CP(DSS_PCLK), (IDIS | PTD | DIS | M0))
/*DSS_PCLK*/\
- MUX_VAL(CP(DSS_HSYNC), (IDIS | PTD | DIS | M0))
/*DSS_HSYNC*/\
- MUX_VAL(CP(DSS_VSYNC), (IDIS | PTD | DIS | M0))
/*DSS_VSYNC*/\
- MUX_VAL(CP(DSS_ACBIAS), (IDIS | PTD | DIS | M0))
/*DSS_ACBIAS*/\
- MUX_VAL(CP(DSS_DATA0), (IDIS | PTD | DIS | M0))
/*DSS_DATA0*/\
- MUX_VAL(CP(DSS_DATA1), (IDIS | PTD | DIS | M0))
/*DSS_DATA1*/\
- MUX_VAL(CP(DSS_DATA2), (IDIS | PTD | DIS | M0))
/*DSS_DATA2*/\
- MUX_VAL(CP(DSS_DATA3), (IDIS | PTD | DIS | M0))
/*DSS_DATA3*/\
- MUX_VAL(CP(DSS_DATA4), (IDIS | PTD | DIS | M0))
/*DSS_DATA4*/\
- MUX_VAL(CP(DSS_DATA5), (IDIS | PTD | DIS | M0))
/*DSS_DATA5*/\
- MUX_VAL(CP(DSS_DATA6), (IDIS | PTD | DIS | M0))
/*DSS_DATA6*/\
- MUX_VAL(CP(DSS_DATA7), (IDIS | PTD | DIS | M0))
/*DSS_DATA7*/\
- MUX_VAL(CP(DSS_DATA8), (IDIS | PTD | DIS | M0))
/*DSS_DATA8*/\
- MUX_VAL(CP(DSS_DATA9), (IDIS | PTD | DIS | M0))
/*DSS_DATA9*/\
- MUX_VAL(CP(DSS_DATA10), (IDIS | PTD | DIS | M0))
/*DSS_DATA10*/\
- MUX_VAL(CP(DSS_DATA11), (IDIS | PTD | DIS | M0))
/*DSS_DATA11*/\
- MUX_VAL(CP(DSS_DATA12), (IDIS | PTD | DIS | M0))
/*DSS_DATA12*/\
- MUX_VAL(CP(DSS_DATA13), (IDIS | PTD | DIS | M0))
/*DSS_DATA13*/\
- MUX_VAL(CP(DSS_DATA14), (IDIS | PTD | DIS | M0))
/*DSS_DATA14*/\
- MUX_VAL(CP(DSS_DATA15), (IDIS | PTD | DIS | M0))
/*DSS_DATA15*/\
- MUX_VAL(CP(DSS_DATA16), (IDIS | PTD | DIS | M0))
/*DSS_DATA16*/\
- MUX_VAL(CP(DSS_DATA17), (IDIS | PTD | DIS | M0))
/*DSS_DATA17*/\
- MUX_VAL(CP(DSS_DATA18), (IDIS | PTD | DIS | M0))
/*DSS_DATA18*/\
- MUX_VAL(CP(DSS_DATA19), (IDIS | PTD | DIS | M0))
/*DSS_DATA19*/\
- MUX_VAL(CP(DSS_DATA20), (IDIS | PTD | DIS | M0))
/*DSS_DATA20*/\
- MUX_VAL(CP(DSS_DATA21), (IDIS | PTD | DIS | M0))
/*DSS_DATA21*/\
- MUX_VAL(CP(DSS_DATA22), (IDIS | PTD | DIS | M0))
/*DSS_DATA22*/\
- MUX_VAL(CP(DSS_DATA23), (IDIS | PTD | DIS | M0))
/*DSS_DATA23*/\
- /*GPIO based game buttons*/\

board/pandora/pandora.h deleted +0 -9
-       MUX_VAL(CP(CAM_XCLKA),          (IEN  | PTD | DIS | M4)) /*GPIO_96
- LEFT*/\
-       MUX_VAL(CP(CAM_PCLK),           (IEN  | PTD | DIS | M4)) /*GPIO_97
- L2*/\
-       MUX_VAL(CP(CAM_FLD),            (IEN  | PTD | DIS | M4)) /*GPIO_98
- RIGHT*/\
-       MUX_VAL(CP(CAM_D0),             (IEN  | PTD | DIS | M4)) /*GPIO_99
- MENU*/\
-       MUX_VAL(CP(CAM_D1),             (IEN  | PTD | DIS | M4))

/*GPIO_100 - START*/\
- MUX_VAL(CP(CAM_D2), (IEN | PTD | DIS | M4))
/*GPIO_101 - Y*/\
- MUX_VAL(CP(CAM_D3), (IEN | PTD | DIS | M4))
/*GPIO_102 - L1*/\
- MUX_VAL(CP(CAM_D4), (IEN | PTD | DIS | M4))
/*GPIO_103 - DOWN*/\
- MUX_VAL(CP(CAM_D5), (IEN | PTD | DIS | M4))
/*GPIO_104 - SELECT*/\
- MUX_VAL(CP(CAM_D6), (IEN | PTD | DIS | M4))
/*GPIO_105 - R1*/\
- MUX_VAL(CP(CAM_D7), (IEN | PTD | DIS | M4))
/*GPIO_106 - B*/\
- MUX_VAL(CP(CAM_D8), (IEN | PTD | DIS | M4))
/*GPIO_107 - R2*/\
- MUX_VAL(CP(CAM_D10), (IEN | PTD | DIS | M4))
/*GPIO_109 - X*/\
- MUX_VAL(CP(CAM_D11), (IEN | PTD | DIS | M4))
/*GPIO_110 - UP*/\
- MUX_VAL(CP(CAM_XCLKB), (IEN | PTD | DIS | M4))
/*GPIO_111 - A*/\
- /*Audio Interface To External DAC (Headphone, Speakers)*/\
- MUX_VAL(CP(MCBSP2_FSX), (IDIS | PTD | DIS | M0))
/*McBSP2_FSX*/\
- MUX_VAL(CP(MCBSP2_CLKX), (IDIS | PTD | DIS | M0))
/*McBSP2_CLKX*/\
- MUX_VAL(CP(MCBSP2_DX), (IDIS | PTD | DIS | M0))
/*McBSP2_DX*/\
- MUX_VAL(CP(MCBSP_CLKS), (IEN | PTD | DIS | M0))
/*McBSP_CLKS*/\
- MUX_VAL(CP(MCBSP2_DR), (IDIS | PTD | DIS | M4))
/*GPIO_118*/\
- /* -
nPOWERDOWN_DAC*/\
- /*Expansion card 1*/\
- MUX_VAL(CP(MMC1_CLK), (IDIS | PTU | EN | M0))
/*MMC1_CLK*/\
- MUX_VAL(CP(MMC1_CMD), (IEN | PTU | EN | M0))
/*MMC1_CMD*/\
- MUX_VAL(CP(MMC1_DAT0), (IEN | PTU | EN | M0))
/*MMC1_DAT0*/\
- MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | EN | M0))
/*MMC1_DAT1*/\
- MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | EN | M0))
/*MMC1_DAT2*/\
- MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | EN | M0))
/*MMC1_DAT3*/\
- MUX_VAL(CP(MMC1_DAT4), (IEN | PTD | DIS | M4))
/*GPIO_126 - MMC1_WP*/\
- /*Expansion card 2*/\
- MUX_VAL(CP(MMC2_CLK), (IDIS | PTD | DIS | M0))
/*MMC2_CLK*/\
- MUX_VAL(CP(MMC2_CMD), (IEN | PTU | EN | M0))
/*MMC2_CMD*/\
- MUX_VAL(CP(MMC2_DAT0), (IEN | PTU | EN | M0))
/*MMC2_DAT0*/\
- MUX_VAL(CP(MMC2_DAT1), (IEN | PTU | EN | M0))
/*MMC2_DAT1*/\
- MUX_VAL(CP(MMC2_DAT2), (IEN | PTU | EN | M0))
/*MMC2_DAT2*/\
- MUX_VAL(CP(MMC2_DAT3), (IEN | PTU | EN | M0))
/*MMC2_DAT3*/\
- MUX_VAL(CP(MMC2_DAT4), (IDIS | PTD | DIS | M1))
/*MMC2_DIR_DAT0*/\
- MUX_VAL(CP(MMC2_DAT5), (IDIS | PTD | DIS | M1))
/*MMC2_DIR_DAT1*/\
- MUX_VAL(CP(MMC2_DAT6), (IDIS | PTD | DIS | M1))
/*MMC2_DIR_CMD */\
- MUX_VAL(CP(MMC2_DAT7), (IEN | PTU | EN | M1))
/*MMC2_CLKIN*/\
- MUX_VAL(CP(MMC1_DAT5), (IEN | PTD | DIS | M4))
/*GPIO_127 - MMC2_WP*/\
- /*SDIO Interface to WIFI Module*/\
- MUX_VAL(CP(ETK_CLK_ES2), (IEN | PTD | DIS | M2))
/*MMC3_CLK*/\
- MUX_VAL(CP(ETK_CTL_ES2), (IEN | PTU | EN | M2))
/*MMC3_CMD*/\
- MUX_VAL(CP(ETK_D4_ES2), (IEN | PTU | EN | M2))
/*MMC3_DAT0*/\
- MUX_VAL(CP(ETK_D5_ES2), (IEN | PTU | EN | M2))
/*MMC3_DAT1*/\
- MUX_VAL(CP(ETK_D6_ES2), (IEN | PTU | EN | M2))
/*MMC3_DAT2*/\
- MUX_VAL(CP(ETK_D3_ES2), (IEN | PTU | EN | M2))
/*MMC3_DAT3*/\
- /*Audio Interface To Bluetooth chip*/\
- MUX_VAL(CP(MCBSP3_DX), (IDIS | PTD | DIS | M0))
/*McBSP3_DX*/\
- MUX_VAL(CP(MCBSP3_DR), (IEN | PTD | DIS | M0))
/*McBSP3_DR*/\
- MUX_VAL(CP(MCBSP3_CLKX), (IEN | PTD | DIS | M0))
/*McBSP3_CLKX*/\
- MUX_VAL(CP(MCBSP3_FSX), (IEN | PTD | DIS | M0))
/*McBSP3_FSX*/\
- /*Digital Interface to Bluetooth (UART)*/\
- MUX_VAL(CP(UART1_TX), (IDIS | PTD | DIS | M0))
/*UART1_TX*/\
- MUX_VAL(CP(UART1_RTS), (IDIS | PTD | DIS | M0))
/*UART1_RTS*/\
- MUX_VAL(CP(UART1_CTS), (IEN | PTU | EN | M0))
/*UART1_CTS*/\
- MUX_VAL(CP(UART1_RX), (IEN | PTD | DIS | M0))
/*UART1_RX*/\
- /*Audio Interface to Triton2 chip (TPS65950)*/\
- MUX_VAL(CP(MCBSP4_CLKX), (IEN | PTD | DIS | M0))
/*McBSP4_CLKX*/\
- MUX_VAL(CP(MCBSP4_DR), (IEN | PTD | DIS | M0))
/*McBSP4_DR*/\
- MUX_VAL(CP(MCBSP4_DX), (IDIS | PTD | DIS | M0))
/*McBSP4_DX*/\
- MUX_VAL(CP(MCBSP4_FSX), (IEN | PTD | DIS | M0))
/*McBSP4_FSX*/\
- /*GPIO definitions for muxed pins on AV connector*/\
- MUX_VAL(CP(UART2_CTS), (IEN | PTD | EN | M4))
/*GPIO_144,*/\
-
/*UART2_CTS*/\
- MUX_VAL(CP(UART2_RTS), (IEN | PTD | EN | M4))
/*GPIO_145,*/\
-
/*UART2_RTS*/\
- MUX_VAL(CP(UART2_TX), (IEN | PTD | EN | M4))
/*GPIO_146,*/\
-
/*UART2_TX*/\
- MUX_VAL(CP(UART2_RX), (IEN | PTD | EN | M4))
/*GPIO_147,*/\
-
/*UART2_RX*/\
- /*Serial Interface (Peripheral boot, Linux console, on AV connector)*/\
- /*RX pulled up to avoid noise when nothing is connected to serial port*/\
- MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTU | EN | M0))
/*UART3_RX*/\
- MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0))
/*UART3_TX*/\
- /*LEDs (Controlled by OMAP)*/\
- MUX_VAL(CP(MMC1_DAT6), (IDIS | PTD | DIS | M4))
/*GPIO_128*/\
- /* -
LED_MMC1*/\
- MUX_VAL(CP(MMC1_DAT7), (IDIS | PTD | DIS | M4))
/*GPIO_129*/\
- /* -
LED_MMC2*/\
- MUX_VAL(CP(MCBSP1_DX), (IDIS | PTD | DIS | M4))
/*GPIO_158*/\
- /* -
LED_BT*/\
- MUX_VAL(CP(MCBSP1_DR), (IDIS | PTD | DIS | M4))
/*GPIO_159*/\
- /* -
LED_WIFI*/\
- /*Switches*/\
- MUX_VAL(CP(MCSPI1_CS2), (IEN | PTD | DIS | M4))
/*GPIO_176*/\
- /* -
nHOLD_SWITCH*/\
- MUX_VAL(CP(CAM_D9), (IEN | PTD | DIS | M4))
/*GPIO_108*/\
- /* -
nLID_SWITCH*/\
- /*External IRQs*/\
- MUX_VAL(CP(CAM_HS), (IEN | PTD | DIS | M4))
/*GPIO_94*/\
- /* -
nTOUCH_IRQ*/\
- MUX_VAL(CP(ETK_D7_ES2), (IEN | PTD | DIS | M4))
/*GPIO_21*/\
- /* -
WIFI_IRQ*/\
- MUX_VAL(CP(MCBSP1_FSX), (IEN | PTD | DIS | M4))
/*GPIO_161*/\
- /* -
nIRQ_NUB1*/\
- MUX_VAL(CP(MCBSP1_CLKX), (IEN | PTD | DIS | M4))
/*GPIO_162*/\
- /* -
nIRQ_NUB2*/\
- /*Various other stuff*/\
- MUX_VAL(CP(UART3_CTS_RCTX), (IEN | PTD | DIS | M4))
/*GPIO_163*/\
- /* -
nOC_USB5*/\
- MUX_VAL(CP(ETK_D8_ES2), (IEN | PTD | DIS | M4))
/*GPIO_22*/\
- /* -
MSECURE*/\
- MUX_VAL(CP(CSI2_DY1), (IEN | PTD | DIS | M4))
/*GPIO_115*/\
- /* -
POP_OVERHEAT*/\
- /*External Resets and Enables*/\
- MUX_VAL(CP(ETK_D0_ES2), (IDIS | PTD | DIS | M4))
/*GPIO_14*/\
- /* -
nHDPHN_SHUTDOWN*/\
- MUX_VAL(CP(ETK_D1_ES2), (IDIS | PTD | DIS | M4))
/*GPIO_15*/\
- /* -
nBT_SHUTDOWN*/\
- MUX_VAL(CP(ETK_D9_ES2), (IDIS | PTD | DIS | M4))
/*GPIO_23*/\
- /* -
nWIFI_RESET*/\
- MUX_VAL(CP(MCBSP1_FSR), (IDIS | PTU | DIS | M4))
/*GPIO_157*/\
- /* -
nLCD_RESET*/\
- MUX_VAL(CP(MCBSP1_CLKR), (IDIS | PTD | DIS | M4))
/*GPIO_156*/\
- /* -
RESET_NUBS*/\
- MUX_VAL(CP(UART3_RTS_SD), (IDIS | PTD | DIS | M4))
/*GPIO_164*/\
- /* -
EN_USB_5V*/\
- /*Spare GPIOs*/\
- MUX_VAL(CP(GPMC_NCS7), (IEN | PTD | EN | M4))
/*GPIO_58*/\
- MUX_VAL(CP(GPMC_WAIT2), (IEN | PTD | EN | M4))
/*GPIO_64*/\
- MUX_VAL(CP(GPMC_WAIT3), (IEN | PTD | EN | M4))
/*GPIO_65*/\
- MUX_VAL(CP(CAM_VS), (IEN | PTU | EN | M4))
/*GPIO_95*/\
- MUX_VAL(CP(CAM_WEN), (IEN | PTD | EN | M4))
/*GPIO_167*/\
- MUX_VAL(CP(HDQ_SIO), (IEN | PTD | EN | M4))
/*GPIO_170*/\
- /*HS USB OTG Port (connects to HSUSB0)*/\
- MUX_VAL(CP(HSUSB0_CLK), (IEN | PTD | DIS | M0))
/*HSUSB0_CLK*/\
- MUX_VAL(CP(HSUSB0_STP), (IDIS | PTU | EN | M0))
/*HSUSB0_STP*/\
- MUX_VAL(CP(HSUSB0_DIR), (IEN | PTD | DIS | M0))
/*HSUSB0_DIR*/\
- MUX_VAL(CP(HSUSB0_NXT), (IEN | PTD | DIS | M0))
/*HSUSB0_NXT*/\
- MUX_VAL(CP(HSUSB0_DATA0), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA0*/\
- MUX_VAL(CP(HSUSB0_DATA1), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA1*/\
- MUX_VAL(CP(HSUSB0_DATA2), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA2*/\
- MUX_VAL(CP(HSUSB0_DATA3), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA3*/\
- MUX_VAL(CP(HSUSB0_DATA4), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA4*/\
- MUX_VAL(CP(HSUSB0_DATA5), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA5*/\
- MUX_VAL(CP(HSUSB0_DATA6), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA6*/\
- MUX_VAL(CP(HSUSB0_DATA7), (IEN | PTD | DIS | M0))
/*HSUSB0_DATA7*/\
- /*I2C Ports*/\
- MUX_VAL(CP(I2C1_SCL), (IEN | PTU | EN | M0))
/*I2C1_SCL - T2_CTRL*/\
- MUX_VAL(CP(I2C1_SDA), (IEN | PTU | EN | M0))
/*I2C1_SDA - T2_CTRL*/\
- MUX_VAL(CP(I2C3_SCL), (IEN | PTU | EN | M0))
/*I2C3_SCL - NUBS*/\
- MUX_VAL(CP(I2C3_SDA), (IEN | PTU | EN | M0))
/*I2C3_SDA - NUBS*/\
- MUX_VAL(CP(I2C4_SCL), (IEN | PTU | EN | M0))
/*I2C4_SCL - T2_SR*/\
- MUX_VAL(CP(I2C4_SDA), (IEN | PTU | EN | M0))
/*I2C4_SDA - T2_SR*/\
- /*Serial Interface (Touch, LCD control)*/\
- MUX_VAL(CP(MCSPI1_CLK), (IEN | PTD | DIS | M0))
/*McSPI1_CLK*/\
- MUX_VAL(CP(MCSPI1_SIMO), (IEN | PTD | DIS | M0))
/*McSPI1_SIMO*/\
- MUX_VAL(CP(MCSPI1_SOMI), (IEN | PTD | DIS | M0))
/*McSPI1_SOMI*/\
- MUX_VAL(CP(MCSPI1_CS0), (IDIS | PTU | EN | M0))
/*McSPI1_CS0 - TOUCH*/\
- MUX_VAL(CP(MCSPI1_CS1), (IDIS | PTU | EN | M0))
/*McSPI1_CS1 - LCD*/\
- /*HS USB HOST Port (connects to HSUSB2)*/\
- MUX_VAL(CP(ETK_D10_ES2), (IDIS | PTD | DIS | M3))
/*USB_HOST_CLK*/\
- MUX_VAL(CP(ETK_D11_ES2), (IDIS | PTU | EN | M3))
/*USB_HOST_STP*/\
- MUX_VAL(CP(ETK_D12_ES2), (IEN | PTD | DIS | M3))
/*USB_HOST_DIR*/\
- MUX_VAL(CP(ETK_D13_ES2), (IEN | PTD | DIS | M3))
/*USB_HOST_NXT*/\
- MUX_VAL(CP(ETK_D14_ES2), (IEN | PTD | DIS | M3))
/*USB_HOST_D0*/\
- MUX_VAL(CP(ETK_D15_ES2), (IEN | PTD | DIS | M3))
/*USB_HOST_D1*/\
- MUX_VAL(CP(MCSPI1_CS3), (IEN | PTD | DIS | M3))
/*USB_HOST_D2*/\
- MUX_VAL(CP(MCSPI2_CS1), (IEN | PTD | DIS | M3))
/*USB_HOST_D3*/\
- MUX_VAL(CP(MCSPI2_SIMO), (IEN | PTD | DIS | M3))
/*USB_HOST_D4*/\
- MUX_VAL(CP(MCSPI2_SOMI), (IEN | PTD | DIS | M3))
/*USB_HOST_D5*/\
- MUX_VAL(CP(MCSPI2_CS0), (IEN | PTD | DIS | M3))
/*USB_HOST_D6*/\
- MUX_VAL(CP(MCSPI2_CLK), (IEN | PTD | DIS | M3))
/*USB_HOST_D7*/\
- MUX_VAL(CP(ETK_D2_ES2), (IDIS | PTD | DIS | M4))
/*GPIO_16*/\
- /* -
nRESET_USB_HOST*/\
- /*Control and debug */\
- MUX_VAL(CP(SYS_32K), (IEN | PTD | DIS | M0))
/*SYS_32K*/\
- MUX_VAL(CP(SYS_CLKREQ), (IEN | PTD | DIS | M0))
/*SYS_CLKREQ*/\
- MUX_VAL(CP(SYS_NIRQ), (IEN | PTU | EN | M0))
/*SYS_nIRQ*/\
- MUX_VAL(CP(SYS_BOOT0), (IEN | PTD | DIS | M4))
/*GPIO_2*/\
- MUX_VAL(CP(SYS_BOOT1), (IEN | PTD | DIS | M4))
/*GPIO_3*/\
- MUX_VAL(CP(SYS_BOOT2), (IEN | PTD | DIS | M4))
/*GPIO_4*/\
- MUX_VAL(CP(SYS_BOOT3), (IEN | PTD | DIS | M4))
/*GPIO_5*/\
- MUX_VAL(CP(SYS_BOOT4), (IEN | PTD | DIS | M4))
/*GPIO_6*/\
- MUX_VAL(CP(SYS_BOOT5), (IEN | PTD | DIS | M4))
/*GPIO_7*/\
- MUX_VAL(CP(SYS_BOOT6), (IEN | PTD | DIS | M4))
/*GPIO_8*/\
- MUX_VAL(CP(SYS_OFF_MODE), (IEN | PTD | DIS | M0))
/*SYS_OFF_MODE*/\
- /*JTAG*/\
- MUX_VAL(CP(JTAG_NTRST), (IEN | PTD | DIS | M0))
/*JTAG_NTRST*/\
- MUX_VAL(CP(JTAG_TCK), (IEN | PTD | DIS | M0))
/*JTAG_TCK*/\
- MUX_VAL(CP(JTAG_TMS), (IEN | PTD | DIS | M0))
/*JTAG_TMS*/\
- MUX_VAL(CP(JTAG_TDI), (IEN | PTD | DIS | M0))
/*JTAG_TDI*/\
- MUX_VAL(CP(JTAG_EMU0), (IEN | PTD | DIS | M0))
/*JTAG_EMU0*/\
- MUX_VAL(CP(JTAG_EMU1), (IEN | PTD | DIS | M0))
/*JTAG_EMU1*/\
- /*Die to Die stuff*/\
- MUX_VAL(CP(D2D_MCAD1), (IEN | PTD | EN | M0))
/*d2d_mcad1*/\
- MUX_VAL(CP(D2D_MCAD2), (IEN | PTD | EN | M0))
/*d2d_mcad2*/\
- MUX_VAL(CP(D2D_MCAD3), (IEN | PTD | EN | M0))
/*d2d_mcad3*/\
- MUX_VAL(CP(D2D_MCAD4), (IEN | PTD | EN | M0))
/*d2d_mcad4*/\
- MUX_VAL(CP(D2D_MCAD5), (IEN | PTD | EN | M0))
/*d2d_mcad5*/\
- MUX_VAL(CP(D2D_MCAD6), (IEN | PTD | EN | M0))
/*d2d_mcad6*/\
- MUX_VAL(CP(D2D_MCAD7), (IEN | PTD | EN | M0))
/*d2d_mcad7*/\
- MUX_VAL(CP(D2D_MCAD8), (IEN | PTD | EN | M0))
/*d2d_mcad8*/\
- MUX_VAL(CP(D2D_MCAD9), (IEN | PTD | EN | M0))
/*d2d_mcad9*/\
- MUX_VAL(CP(D2D_MCAD10), (IEN | PTD | EN | M0))
/*d2d_mcad10*/\
- MUX_VAL(CP(D2D_MCAD11), (IEN | PTD | EN | M0))
/*d2d_mcad11*/\
- MUX_VAL(CP(D2D_MCAD12), (IEN | PTD | EN | M0))
/*d2d_mcad12*/\
- MUX_VAL(CP(D2D_MCAD13), (IEN | PTD | EN | M0))
/*d2d_mcad13*/\
- MUX_VAL(CP(D2D_MCAD14), (IEN | PTD | EN | M0))
/*d2d_mcad14*/\
- MUX_VAL(CP(D2D_MCAD15), (IEN | PTD | EN | M0))
/*d2d_mcad15*/\
- MUX_VAL(CP(D2D_MCAD16), (IEN | PTD | EN | M0))
/*d2d_mcad16*/\
- MUX_VAL(CP(D2D_MCAD17), (IEN | PTD | EN | M0))
/*d2d_mcad17*/\
- MUX_VAL(CP(D2D_MCAD18), (IEN | PTD | EN | M0))
/*d2d_mcad18*/\
- MUX_VAL(CP(D2D_MCAD19), (IEN | PTD | EN | M0))
/*d2d_mcad19*/\
- MUX_VAL(CP(D2D_MCAD20), (IEN | PTD | EN | M0))
/*d2d_mcad20*/\
- MUX_VAL(CP(D2D_MCAD21), (IEN | PTD | EN | M0))
/*d2d_mcad21*/\
- MUX_VAL(CP(D2D_MCAD22), (IEN | PTD | EN | M0))
/*d2d_mcad22*/\
- MUX_VAL(CP(D2D_MCAD23), (IEN | PTD | EN | M0))
/*d2d_mcad23*/\
- MUX_VAL(CP(D2D_MCAD24), (IEN | PTD | EN | M0))
/*d2d_mcad24*/\
- MUX_VAL(CP(D2D_MCAD25), (IEN | PTD | EN | M0))
/*d2d_mcad25*/\
- MUX_VAL(CP(D2D_MCAD26), (IEN | PTD | EN | M0))
/*d2d_mcad26*/\
- MUX_VAL(CP(D2D_MCAD27), (IEN | PTD | EN | M0))
/*d2d_mcad27*/\
- MUX_VAL(CP(D2D_MCAD28), (IEN | PTD | EN | M0))
/*d2d_mcad28*/\
- MUX_VAL(CP(D2D_MCAD29), (IEN | PTD | EN | M0))
/*d2d_mcad29*/\
- MUX_VAL(CP(D2D_MCAD30), (IEN | PTD | EN | M0))
/*d2d_mcad30*/\
- MUX_VAL(CP(D2D_MCAD31), (IEN | PTD | EN | M0))
/*d2d_mcad31*/\
- MUX_VAL(CP(D2D_MCAD32), (IEN | PTD | EN | M0))
/*d2d_mcad32*/\
- MUX_VAL(CP(D2D_MCAD33), (IEN | PTD | EN | M0))
/*d2d_mcad33*/\
- MUX_VAL(CP(D2D_MCAD34), (IEN | PTD | EN | M0))
/*d2d_mcad34*/\
- MUX_VAL(CP(D2D_MCAD35), (IEN | PTD | EN | M0))
/*d2d_mcad35*/\
- MUX_VAL(CP(D2D_MCAD36), (IEN | PTD | EN | M0))
/*d2d_mcad36*/\
- MUX_VAL(CP(D2D_CLK26MI), (IEN | PTD | DIS | M0))
/*d2d_clk26mi*/\
- MUX_VAL(CP(D2D_NRESPWRON), (IEN | PTD | EN | M0))
/*d2d_nrespwron*/\
- MUX_VAL(CP(D2D_NRESWARM), (IEN | PTU | EN | M0))
/*d2d_nreswarm*/\
- MUX_VAL(CP(D2D_ARM9NIRQ), (IEN | PTD | DIS | M0))
/*d2d_arm9nirq*/\
- MUX_VAL(CP(D2D_UMA2P6FIQ), (IEN | PTD | DIS | M0))
/*d2d_uma2p6fiq*/\
- MUX_VAL(CP(D2D_SPINT), (IEN | PTD | EN | M0))
/*d2d_spint*/\
- MUX_VAL(CP(D2D_FRINT), (IEN | PTD | EN | M0))
/*d2d_frint*/\
- MUX_VAL(CP(D2D_DMAREQ0), (IEN | PTD | DIS | M0))
/*d2d_dmareq0*/\
- MUX_VAL(CP(D2D_DMAREQ1), (IEN | PTD | DIS | M0))
/*d2d_dmareq1*/\
- MUX_VAL(CP(D2D_DMAREQ2), (IEN | PTD | DIS | M0))
/*d2d_dmareq2*/\
- MUX_VAL(CP(D2D_DMAREQ3), (IEN | PTD | DIS | M0))
/*d2d_dmareq3*/\
- MUX_VAL(CP(D2D_N3GTRST), (IEN | PTD | DIS | M0))
/*d2d_n3gtrst*/\
- MUX_VAL(CP(D2D_N3GTDI), (IEN | PTD | DIS | M0))
/*d2d_n3gtdi*/\
- MUX_VAL(CP(D2D_N3GTDO), (IEN | PTD | DIS | M0))
/*d2d_n3gtdo*/\
- MUX_VAL(CP(D2D_N3GTMS), (IEN | PTD | DIS | M0))
/*d2d_n3gtms*/\
- MUX_VAL(CP(D2D_N3GTCK), (IEN | PTD | DIS | M0))
/*d2d_n3gtck*/\
- MUX_VAL(CP(D2D_N3GRTCK), (IEN | PTD | DIS | M0))
/*d2d_n3grtck*/\
- MUX_VAL(CP(D2D_MSTDBY), (IEN | PTU | EN | M0))
/*d2d_mstdby*/\
- MUX_VAL(CP(D2D_SWAKEUP), (IEN | PTD | EN | M0))
/*d2d_swakeup*/\
- MUX_VAL(CP(D2D_IDLEREQ), (IEN | PTD | DIS | M0))
/*d2d_idlereq*/\
- MUX_VAL(CP(D2D_IDLEACK), (IEN | PTU | EN | M0))
/*d2d_idleack*/\
- MUX_VAL(CP(D2D_MWRITE), (IEN | PTD | DIS | M0))
/*d2d_mwrite*/\
- MUX_VAL(CP(D2D_SWRITE), (IEN | PTD | DIS | M0))
/*d2d_swrite*/\
- MUX_VAL(CP(D2D_MREAD), (IEN | PTD | DIS | M0))
/*d2d_mread*/\
- MUX_VAL(CP(D2D_SREAD), (IEN | PTD | DIS | M0))
/*d2d_sread*/\
- MUX_VAL(CP(D2D_MBUSFLAG), (IEN | PTD | DIS | M0))
/*d2d_mbusflag*/\
- MUX_VAL(CP(D2D_SBUSFLAG), (IEN | PTD | DIS | M0))
/*d2d_sbusflag*/\
- MUX_VAL(CP(SDRC_CKE0), (IDIS | PTU | EN | M0))
/*sdrc_cke0*/\
- MUX_VAL(CP(SDRC_CKE1), (IDIS | PTU | EN | M0))
/*sdrc_cke1*/

board/pandora/pandora.h deleted +0 -3
-
-#define MUX_PANDORA_3730() \
-       MUX_VAL(CP(GPIO126),            (IEN  | PTD | DIS | M4))

/*GPIO_126 - MMC1_WP*/\
- MUX_VAL(CP(GPIO127), (IEN | PTD | DIS | M4))
/*GPIO_127 - MMC2_WP*/\
- MUX_VAL(CP(GPIO128), (IDIS | PTD | DIS | M4))
/*GPIO_128 - LED_MMC1*/\
- MUX_VAL(CP(GPIO129), (IDIS | PTD | DIS | M4))
/*GPIO_129 - LED_MMC2*/

board/pandora/pandora.h deleted +0 -2
-
-#endif
configs/omap3_pandora_defconfig deleted +0 -40
deleted file mode 100644
index d8ee7995de..0000000000
@@ -1,40 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_SYS_TEXT_BASE=0x80008000
-CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_TARGET_OMAP3_PANDORA=y
-CONFIG_NR_DRAM_BANKS=2
-CONFIG_DISTRO_DEFAULTS=y
-# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_SYS_CONSOLE_IS_IN_ENV=y
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_VERSION_VARIABLE=y
-CONFIG_SYS_PROMPT="Pandora # "
-# CONFIG_CMD_IMI is not set
-CONFIG_CMD_ASKENV=y
-# CONFIG_CMD_FLASH is not set
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_NAND=y
-CONFIG_CMD_SPI=y
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 
-CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(xloader),1920k(uboot),128k(uboot-env),10m(boot),-(rootfs)"
-CONFIG_CMD_UBI=y
-CONFIG_ENV_IS_IN_NAND=y
-CONFIG_DM=y
-CONFIG_TWL4030_LED=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_MTD=y
-CONFIG_MTD_RAW_NAND=y
-CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
-CONFIG_DM_SERIAL=y
-CONFIG_SPI=y
-CONFIG_OMAP3_SPI=y
-CONFIG_FAT_WRITE=y
-CONFIG_OF_LIBFDT=y
doc/README.omap3 +0 -5
index 5ff9ee2bae..bf99cff848 100644
@@ -41,11 +41,6 @@ make
 make omap3_evm_config
 make
 
-* Pandora:
-
-make omap3_pandora_config
-make
-
 * Zoom MDK:
 
 make omap3_zoom1_config
include/configs/omap3_pandora.h deleted +0 -45
deleted file mode 100644
index ecf308e381..0000000000
@@ -1,62 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2008-2010
- * Gra?vydas Ignotas <[email protected]>
- *
- * Configuration settings for the OMAP3 Pandora.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/* override base for compatibility with MLO the device ships with */
-
-#include <configs/ti_omap3_common.h>
-
-#define CONFIG_REVISION_TAG            1
-
-#define CONFIG_SYS_DEVICE_NULLDEV      1
-
-/*
- * Board NAND Info.
- */
-#define CONFIG_NAND_OMAP_ECCSCHEME     OMAP_ECC_HAM1_CODE_SW
-#define CONFIG_SYS_NAND_PAGE_SIZE      2048
-#define CONFIG_SYS_NAND_OOBSIZE                64
-
-
-#define CONFIG_BOOTCOMMAND \
-       "run distro_bootcmd; " \
-       "setenv bootargs ${bootargs_ubi}; " \
-       "if mmc rescan && load mmc 0:1 ${loadaddr} autoboot.scr; then " \
-               "source ${loadaddr}; " \
-       "fi; " \
-       "ubi part boot && ubifsmount ubi:boot && " \
-               "ubifsload ${loadaddr} uImage && bootm ${loadaddr}"
-
-#define BOOT_TARGET_DEVICES(func) \
-       func(MMC, mmc, 0) \
-
-#include <config_distro_bootcmd.h>
-
-#define CONFIG_EXTRA_ENV_SETTINGS \
-       DEFAULT_LINUX_BOOT_ENV \
-       "usbtty=cdc_acm\0" \
-       "bootargs_ubi=ubi.mtd=4 ubi.mtd=3 root=ubi0:rootfs

rootfstype=ubifs " \

include/configs/omap3_pandora.h deleted +0 -18
-               "rw rootflags=bulk_read vram=6272K omapfb.vram=0:3000K\0" \
-       "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
-       BOOTENV \
-
-/* memtest works on */
-
-#if defined(CONFIG_MTD_RAW_NAND)
-#define CONFIG_SYS_FLASH_BASE          NAND_BASE
-#endif
-
-/* Monitor at start of flash */
-#define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_FLASH_BASE
-
-
-#define CONFIG_SYS_ENV_SECT_SIZE       (128 << 10)     /* 128 KiB */
-
-#endif                         /* __CONFIG_H */
--

2.25.1

author
#34 lore raw

PATCH v2 11/23 pandora: Drop omap3 pandora

Quoted 3 lines · Gra?vydas Ignotas

I'm not aware of any remaining mainline u-boot users of this device (also asked around a bit on IRC), so:

Slite changes on the commit message and

Applied to u-boot-spi/master

author
#35 lore raw

PATCH v2 12/23 logicpd: Drop omap3 zoom1

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Nishanth Menon <[email protected]>

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap3/Kconfig |   8 --
 board/logicpd/zoom1/Kconfig       |  12 ---
 board/logicpd/zoom1/MAINTAINERS   |   6 --
 board/logicpd/zoom1/Makefile      |   6 --
 board/logicpd/zoom1/config.mk     |  14 ---
 board/logicpd/zoom1/zoom1.c       | 148 ------------------------------
 board/logicpd/zoom1/zoom1.h       | 122 ------------------------
 configs/omap3_zoom1_defconfig     |  41 ---------
 doc/README.omap3                  |   5 -
 include/configs/omap3_zoom1.h     | 131 --------------------------
 10 files changed, 493 deletions(-)
 delete mode 100644 board/logicpd/zoom1/Kconfig
 delete mode 100644 board/logicpd/zoom1/MAINTAINERS
 delete mode 100644 board/logicpd/zoom1/Makefile
 delete mode 100644 board/logicpd/zoom1/config.mk
 delete mode 100644 board/logicpd/zoom1/zoom1.c
 delete mode 100644 board/logicpd/zoom1/zoom1.h
 delete mode 100644 configs/omap3_zoom1_defconfig
 delete mode 100644 include/configs/omap3_zoom1.h
arch/arm/mach-omap2/omap3/Kconfig +0 -8
index 18068be076..7421fe5e6c 100644
@@ -68,13 +68,6 @@ config TARGET_OMAP3_IGEP00X0
 	select OMAP3_GPIO_6
 	imply CMD_DM
 
-config TARGET_OMAP3_ZOOM1
-	bool "TI Zoom1"
-	select DM
-	select DM_GPIO
-	select DM_SERIAL
-	imply CMD_DM
-
 config TARGET_AM3517_CRANE
 	bool "am3517_crane"
 
@@ -154,7 +147,6 @@ source "board/ti/beagle/Kconfig"
 source "board/timll/devkit8000/Kconfig"
 source "board/ti/evm/Kconfig"
 source "board/isee/igep00x0/Kconfig"
-source "board/logicpd/zoom1/Kconfig"
 source "board/ti/am3517crane/Kconfig"
 source "board/corscience/tricorder/Kconfig"
 source "board/logicpd/omap3som/Kconfig"
board/logicpd/zoom1/Kconfig deleted +0 -12
deleted file mode 100644
index d76cb663f7..0000000000
@@ -1,12 +0,0 @@
-if TARGET_OMAP3_ZOOM1
-
-config SYS_BOARD
-	default "zoom1"
-
-config SYS_VENDOR
-	default "logicpd"
-
-config SYS_CONFIG_NAME
-	default "omap3_zoom1"
-
-endif
board/logicpd/zoom1/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 338b965deb..0000000000
@@ -1,6 +0,0 @@
-ZOOM1 BOARD
-M:	Nishanth Menon <[email protected]>
-S:	Maintained
-F:	board/logicpd/zoom1/
-F:	include/configs/omap3_zoom1.h
-F:	configs/omap3_zoom1_defconfig
board/logicpd/zoom1/Makefile deleted +0 -6
deleted file mode 100644
index e73b42e702..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= zoom1.o
board/logicpd/zoom1/config.mk deleted +0 -14
deleted file mode 100644
index a8e4f52e7b..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2006-2008
-# Texas Instruments, <www.ti.com>
-#
-# Zoom MDK uses OMAP3 (ARM-CortexA8) cpu
-# see http://www.ti.com/ for more information on Texas Instruments
-# Physical Address:
-# 8000'0000 (bank0)
-# A000/0000 (bank1)
-# Linux-Kernel is expected to be at 8000'8000, entry 8000'8000
-# (mem base + reserved)
-
-# For use with external or internal boots.
board/logicpd/zoom1/zoom1.c deleted +0 -148

148 lines not on this page · raw message

board/logicpd/zoom1/zoom1.h deleted +0 -122

122 lines not on this page · raw message

configs/omap3_zoom1_defconfig deleted +0 -41

41 lines not on this page · raw message

doc/README.omap3 +0 -5
index bf99cff848..5f2af88334 100644
@@ -41,11 +41,6 @@ make
 make omap3_evm_config
 make
 
-* Zoom MDK:
-
-make omap3_zoom1_config
-make
-
 * Zoom 2:
 
 make omap3_zoom2_config
include/configs/omap3_zoom1.h deleted +0 -131

131 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#36 lore raw

PATCH v2 12/23 logicpd: Drop omap3 zoom1

Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Nishanth Menon <[email protected]>

Any comments?

#37 lore raw

Re: [PATCH v2 12/23] logicpd: Drop omap3 zoom1

Quoted 10 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Nishanth Menon <[email protected]>

Any comments?

I think this should be fine. OMAP3 ES1.0 on which zoom1 was based on,
has'nt had users for some time.

If there are any specific user still wanting to keep this platform alive, please speak up.

Signature · 2 lines
Regards,
Nishanth Menon
author
#38 lore raw

Re: [PATCH v2 12/23] logicpd: Drop omap3 zoom1

Quoted 9 lines · Nishanth Menon
Quoted 7 lines · Jagan Teki
Quoted 6 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Cc Nishanth Menon <[email protected]>

Any comments?

I think this should be fine. OMAP3 ES1.0 on which zoom1 was based on,
has'nt had users for some time.

If there are any specific user still wanting to keep this platform alive, please speak up.

Applied to u-boot-spi/master

author
#39 lore raw

PATCH v2 13/23 quipos: Drop omap3 cairo

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Albert ARIBAUD (3ADEV) <[email protected]>

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap3/Kconfig |   8 -
 board/quipos/cairo/Kconfig        |  12 --
 board/quipos/cairo/MAINTAINERS    |   6 -
 board/quipos/cairo/Makefile       |   6 -
 board/quipos/cairo/cairo.c        |  98 ---------
 board/quipos/cairo/cairo.h        | 318 ------------------------------
 configs/cairo_defconfig           |  40 ----
 include/configs/omap3_cairo.h     | 215 --------------------
 8 files changed, 703 deletions(-)
 delete mode 100644 board/quipos/cairo/Kconfig
 delete mode 100644 board/quipos/cairo/MAINTAINERS
 delete mode 100644 board/quipos/cairo/Makefile
 delete mode 100644 board/quipos/cairo/cairo.c
 delete mode 100644 board/quipos/cairo/cairo.h
 delete mode 100644 configs/cairo_defconfig
 delete mode 100644 include/configs/omap3_cairo.h
arch/arm/mach-omap2/omap3/Kconfig +0 -8
index 7421fe5e6c..044f61c796 100644
@@ -97,13 +97,6 @@ config TARGET_TAO3530
 	select OMAP3_GPIO_5
 	select OMAP3_GPIO_6
 
-config TARGET_OMAP3_CAIRO
-	bool "QUIPOS CAIRO"
-	select DM
-	select DM_GPIO
-	select DM_SERIAL
-	imply CMD_DM
-
 config TARGET_SNIPER
 	bool "LG Optimus Black"
 	select DM
@@ -152,7 +145,6 @@ source "board/corscience/tricorder/Kconfig"
 source "board/logicpd/omap3som/Kconfig"
 source "board/nokia/rx51/Kconfig"
 source "board/technexion/tao3530/Kconfig"
-source "board/quipos/cairo/Kconfig"
 source "board/lg/sniper/Kconfig"
 
 endif
board/quipos/cairo/Kconfig deleted +0 -12
deleted file mode 100644
index 8df9421b57..0000000000
@@ -1,12 +0,0 @@
-if TARGET_OMAP3_CAIRO
-
-config SYS_BOARD
-	default "cairo"
-
-config SYS_VENDOR
-	default "quipos"
-
-config SYS_CONFIG_NAME
-	default "omap3_cairo"
-
-endif
board/quipos/cairo/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 01332da5ab..0000000000
@@ -1,6 +0,0 @@
-CAIRO BOARD
-M:	Albert ARIBAUD (3ADEV) <[email protected]>
-S:	Maintained
-F:	board/quipos/cairo/
-F:	include/configs/omap3_cairo.h
-F:	configs/cairo_defconfig
board/quipos/cairo/Makefile deleted +0 -6
deleted file mode 100644
index ec2c83cc89..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2014 DENX Software Engineering
-# Written-By: Albert ARIBAUD <[email protected]>
-
-obj-y	:= cairo.o
board/quipos/cairo/cairo.c deleted +0 -98

98 lines not on this page · raw message

board/quipos/cairo/cairo.h deleted +0 -318

318 lines not on this page · raw message

configs/cairo_defconfig deleted +0 -40
deleted file mode 100644
index b5387f5b9e..0000000000
@@ -1,40 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_SYS_TEXT_BASE=0x80100000
-CONFIG_TARGET_OMAP3_CAIRO=y
-CONFIG_NR_DRAM_BANKS=2
-CONFIG_SPL=y
-CONFIG_SPL_TEXT_BASE=0x40200800
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_BOOTDELAY=-2
-# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_VERSION_VARIABLE=y
-CONFIG_SPL_MTD_SUPPORT=y
-CONFIG_SPL_OS_BOOT=y
-CONFIG_SYS_PROMPT="Cairo # "
-# CONFIG_CMD_IMI is not set
-CONFIG_CMD_SPL=y
-CONFIG_CMD_SPL_NAND_OFS=0x240000
-CONFIG_CMD_ASKENV=y
-# CONFIG_CMD_FLASH is not set
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_NAND=y
-CONFIG_CMD_NAND_LOCK_UNLOCK=y
-CONFIG_CMD_SPI=y
-# CONFIG_CMD_NET is not set
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_ENV_IS_IN_NAND=y
-CONFIG_TWL4030_LED=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_MTD=y
-CONFIG_MTD_RAW_NAND=y
-CONFIG_SPL_NAND_SIMPLE=y
-CONFIG_CONS_INDEX=2
-CONFIG_SPI=y
-CONFIG_OMAP3_SPI=y
-CONFIG_FAT_WRITE=y
-CONFIG_OF_LIBFDT=y
include/configs/omap3_cairo.h deleted +0 -215

215 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#40 lore raw

PATCH v2 13/23 quipos: Drop omap3 cairo

Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Albert ARIBAUD (3ADEV) <[email protected]>

Any comments?

author
#41 lore raw

PATCH v2 13/23 quipos: Drop omap3 cairo

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Albert ARIBAUD (3ADEV) <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#42 lore raw

PATCH v2 14/23 gumstix: Drop duovero

In reply to Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

---
Changes for v2:
- Cced board maintainer

 arch/arm/mach-omap2/omap4/Kconfig        |   4 -
 board/gumstix/duovero/Kconfig            |  12 -
 board/gumstix/duovero/MAINTAINERS        |   6 -
 board/gumstix/duovero/Makefile           |   6 -
 board/gumstix/duovero/duovero.c          | 273 -----------------------
 board/gumstix/duovero/duovero_mux_data.h | 198 ----------------
 configs/duovero_defconfig                |  42 ----
 include/configs/duovero.h                |  36 ---
 include/configs/ti_omap4_common.h        |   2 -
 9 files changed, 579 deletions(-)
 delete mode 100644 board/gumstix/duovero/Kconfig
 delete mode 100644 board/gumstix/duovero/MAINTAINERS
 delete mode 100644 board/gumstix/duovero/Makefile
 delete mode 100644 board/gumstix/duovero/duovero.c
 delete mode 100644 board/gumstix/duovero/duovero_mux_data.h
 delete mode 100644 configs/duovero_defconfig
 delete mode 100644 include/configs/duovero.h
arch/arm/mach-omap2/omap4/Kconfig +0 -4
index 49adb8ec5b..899289b645 100644
@@ -4,9 +4,6 @@ choice
 	prompt "OMAP4 board select"
 	optional
 
-config TARGET_DUOVERO
-	bool "OMAP4430 Gumstix Duovero"
-
 config TARGET_OMAP4_PANDA
 	bool "TI OMAP4 PandaBoard"
 
@@ -21,7 +18,6 @@ endchoice
 config SYS_SOC
 	default "omap4"
 
-source "board/gumstix/duovero/Kconfig"
 source "board/ti/panda/Kconfig"
 source "board/ti/sdp4430/Kconfig"
 source "board/amazon/kc1/Kconfig"
board/gumstix/duovero/Kconfig deleted +0 -12
deleted file mode 100644
index 2f8558aaf3..0000000000
@@ -1,12 +0,0 @@
-if TARGET_DUOVERO
-
-config SYS_BOARD
-	default "duovero"
-
-config SYS_VENDOR
-	default "gumstix"
-
-config SYS_CONFIG_NAME
-	default "duovero"
-
-endif
board/gumstix/duovero/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 87cd4e670c..0000000000
@@ -1,6 +0,0 @@
-DUOVERO BOARD
-M:	Ash Charles <[email protected]>
-S:	Maintained
-F:	board/gumstix/duovero/
-F:	include/configs/duovero.h
-F:	configs/duovero_defconfig
board/gumstix/duovero/Makefile deleted +0 -6
deleted file mode 100644
index d6eff473f8..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= duovero.o
board/gumstix/duovero/duovero.c deleted +0 -273

273 lines not on this page · raw message

board/gumstix/duovero/duovero_mux_data.h deleted +0 -198

198 lines not on this page · raw message

configs/duovero_defconfig deleted +0 -42

42 lines not on this page · raw message

include/configs/duovero.h deleted +0 -36
deleted file mode 100644
index dccb369991..0000000000
@@ -1,36 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright: 2013
- * Gumstix, Inc - http://www.gumstix.com
- * Maintainer: Ash Charles  <[email protected]>
- *
- * Configuration settings for the Gumstix DuoVero board.
- * See omap4_common.h for OMAP4 common part
- */
-
-#ifndef __CONFIG_DUOVERO_H
-#define __CONFIG_DUOVERO_H
-
-/*
- * High Level Configuration Options
- */
-#define CONFIG_DUOVERO
-#define CONFIG_MACH_TYPE                MACH_TYPE_DUOVERO
-
-#include <configs/ti_omap4_common.h>
-
-#undef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
-#define CONFIG_SYS_AUTOMATIC_SDRAM_DETECTION
-#define CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS
-
-/* USB UHH support options */
-#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO 1
-#define CONFIG_OMAP_EHCI_PHY2_RESET_GPIO 62
-
-#define CONFIG_SYS_ENABLE_PADS_ALL
-
-/* GPIO */
-
-/* ENV related config options */
-
-#endif /* __CONFIG_DUOVERO_H */
include/configs/ti_omap4_common.h +0 -2
index 1e316227aa..5e5490fede 100644
@@ -107,8 +107,6 @@
 			"setenv fdtfile omap4-panda-a4.dtb; fi;" \
 		"if test $board_name = panda-es; then " \
 			"setenv fdtfile omap4-panda-es.dtb; fi;" \
-		"if test $board_name = duovero; then " \
-			"setenv fdtfile omap4-duovero-parlor.dtb; fi;" \
 		"if test $fdtfile = undefined; then " \
 			"echo WARNING: Could not determine device tree to use; fi; \0" \
 	BOOTENV
Signature · 1 line
2.25.1
author
#43 lore raw

PATCH v2 14/23 gumstix: Drop duovero

Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Ash Charles <[email protected]>

Any comments?

author
#44 lore raw

PATCH v2 15/23 ti: Drop panda board

In reply to Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap4/Kconfig |   4 -
 board/ti/panda/Kconfig            |  12 --
 board/ti/panda/MAINTAINERS        |   6 -
 board/ti/panda/Makefile           |   6 -
 board/ti/panda/panda.c            | 346 ------------------------------
 board/ti/panda/panda_mux_data.h   |  86 --------
 configs/omap4_panda_defconfig     |  42 ----
 include/configs/omap4_panda.h     |  34 ---
 8 files changed, 536 deletions(-)
 delete mode 100644 board/ti/panda/Kconfig
 delete mode 100644 board/ti/panda/MAINTAINERS
 delete mode 100644 board/ti/panda/Makefile
 delete mode 100644 board/ti/panda/panda.c
 delete mode 100644 board/ti/panda/panda_mux_data.h
 delete mode 100644 configs/omap4_panda_defconfig
 delete mode 100644 include/configs/omap4_panda.h
arch/arm/mach-omap2/omap4/Kconfig +0 -4
index 899289b645..4cc360f38a 100644
@@ -4,9 +4,6 @@ choice
 	prompt "OMAP4 board select"
 	optional
 
-config TARGET_OMAP4_PANDA
-	bool "TI OMAP4 PandaBoard"
-
 config TARGET_OMAP4_SDP4430
 	bool "TI OMAP4 SDP4430"
 
@@ -18,7 +15,6 @@ endchoice
 config SYS_SOC
 	default "omap4"
 
-source "board/ti/panda/Kconfig"
 source "board/ti/sdp4430/Kconfig"
 source "board/amazon/kc1/Kconfig"
 
board/ti/panda/Kconfig deleted +0 -12
deleted file mode 100644
index 8f277b612a..0000000000
@@ -1,12 +0,0 @@
-if TARGET_OMAP4_PANDA
-
-config SYS_BOARD
-	default "panda"
-
-config SYS_VENDOR
-	default "ti"
-
-config SYS_CONFIG_NAME
-	default "omap4_panda"
-
-endif
board/ti/panda/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 2142368271..0000000000
@@ -1,6 +0,0 @@
-PANDA BOARD
-M:	Lokesh Vutla <[email protected]>
-S:	Maintained
-F:	board/ti/panda/
-F:	include/configs/omap4_panda.h
-F:	configs/omap4_panda_defconfig
board/ti/panda/Makefile deleted +0 -6
deleted file mode 100644
index dd2ff33afa..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= panda.o
board/ti/panda/panda.c deleted +0 -346

346 lines not on this page · raw message

board/ti/panda/panda_mux_data.h deleted +0 -86

86 lines not on this page · raw message

configs/omap4_panda_defconfig deleted +0 -42

42 lines not on this page · raw message

include/configs/omap4_panda.h deleted +0 -34
deleted file mode 100644
index 835b7c299e..0000000000
@@ -1,34 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated.
- * Steve Sakoman  <[email protected]>
- *
- * Configuration settings for the TI OMAP4 Panda board.
- * See ti_omap4_common.h for OMAP4 common part
- */
-
-#ifndef __CONFIG_PANDA_H
-#define __CONFIG_PANDA_H
-
-/*
- * High Level Configuration Options
- */
-
-/* USB UHH support options */
-#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO 1
-#define CONFIG_OMAP_EHCI_PHY2_RESET_GPIO 62
-
-/* USB Networking options */
-
-#define CONFIG_UBOOT_ENABLE_PADS_ALL
-
-#include <configs/ti_omap4_common.h>
-
-/* GPIO */
-
-/* ENV related config options */
-
-#define CONFIG_ENV_OVERWRITE
-
-#endif /* __CONFIG_PANDA_H */
Signature · 1 line
2.25.1
#45 lore raw

PATCH v2 15/23 ti: Drop panda board

Hi Jagan,

Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Thanks and regards,
Lokesh

Quoted 618 lines

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap4/Kconfig |   4 -
 board/ti/panda/Kconfig            |  12 --
 board/ti/panda/MAINTAINERS        |   6 -
 board/ti/panda/Makefile           |   6 -
 board/ti/panda/panda.c            | 346 ------------------------------
 board/ti/panda/panda_mux_data.h   |  86 --------
 configs/omap4_panda_defconfig     |  42 ----
 include/configs/omap4_panda.h     |  34 ---
 8 files changed, 536 deletions(-)
 delete mode 100644 board/ti/panda/Kconfig
 delete mode 100644 board/ti/panda/MAINTAINERS
 delete mode 100644 board/ti/panda/Makefile
 delete mode 100644 board/ti/panda/panda.c
 delete mode 100644 board/ti/panda/panda_mux_data.h
 delete mode 100644 configs/omap4_panda_defconfig
 delete mode 100644 include/configs/omap4_panda.h
arch/arm/mach-omap2/omap4/Kconfig +0 -4
index 899289b645..4cc360f38a 100644
@@ -4,9 +4,6 @@ choice
 	prompt "OMAP4 board select"
 	optional
 
-config TARGET_OMAP4_PANDA
-	bool "TI OMAP4 PandaBoard"
-
 config TARGET_OMAP4_SDP4430
 	bool "TI OMAP4 SDP4430"
 
@@ -18,7 +15,6 @@ endchoice
 config SYS_SOC
 	default "omap4"
 
-source "board/ti/panda/Kconfig"
 source "board/ti/sdp4430/Kconfig"
 source "board/amazon/kc1/Kconfig"
 
board/ti/panda/Kconfig deleted +0 -12
deleted file mode 100644
index 8f277b612a..0000000000
@@ -1,12 +0,0 @@
-if TARGET_OMAP4_PANDA
-
-config SYS_BOARD
-	default "panda"
-
-config SYS_VENDOR
-	default "ti"
-
-config SYS_CONFIG_NAME
-	default "omap4_panda"
-
-endif
board/ti/panda/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 2142368271..0000000000
@@ -1,6 +0,0 @@
-PANDA BOARD
-M:	Lokesh Vutla <[email protected]>
-S:	Maintained
-F:	board/ti/panda/
-F:	include/configs/omap4_panda.h
-F:	configs/omap4_panda_defconfig
board/ti/panda/Makefile deleted +0 -6
deleted file mode 100644
index dd2ff33afa..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= panda.o
board/ti/panda/panda.c deleted +0 -346
deleted file mode 100644
index 9ebecfdbf5..0000000000
@@ -1,346 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated, <www.ti.com>
- * Steve Sakoman  <[email protected]>
- */
-#include <common.h>
-#include <init.h>
-#include <log.h>
-#include <net.h>
-#include <asm/mach-types.h>
-#include <asm/arch/sys_proto.h>
-#include <asm/arch/mmc_host_def.h>
-#include <asm/arch/clock.h>
-#include <asm/arch/gpio.h>
-#include <asm/gpio.h>
-#include <env.h>
-#include <twl6030.h>
-
-#include "panda_mux_data.h"
-
-#ifdef CONFIG_USB_EHCI_HCD
-#include <usb.h>
-#include <asm/arch/ehci.h>
-#include <asm/ehci-omap.h>
-#endif
-
-#define PANDA_ULPI_PHY_TYPE_GPIO       182
-#define PANDA_BOARD_ID_1_GPIO          101
-#define PANDA_ES_BOARD_ID_1_GPIO        48
-#define PANDA_BOARD_ID_2_GPIO          171
-#define PANDA_ES_BOARD_ID_3_GPIO         3
-#define PANDA_ES_BOARD_ID_4_GPIO         2
-
-DECLARE_GLOBAL_DATA_PTR;
-
-const struct omap_sysinfo sysinfo = {
-	"Board: OMAP4 Panda\n"
-};
-
-struct omap4_scrm_regs *const scrm = (struct omap4_scrm_regs *)0x4a30a000;
-
-/**
- * @brief board_init
- *
- * @return 0
- */
-int board_init(void)
-{
-	gpmc_init();
-
-	gd->bd->bi_arch_number = MACH_TYPE_OMAP4_PANDA;
-	gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
-
-	return 0;
-}
-
-int board_eth_init(bd_t *bis)
-{
-	return 0;
-}
-
-/*
-* Routine: get_board_revision
-* Description: Detect if we are running on a panda revision A1-A6,
-*              or an ES panda board. This can be done by reading
-*              the level of GPIOs and checking the processor revisions.
-*              This should result in:
-*			Panda 4430:
-*              GPIO171, GPIO101, GPIO182: 0 1 1 => A1-A5
-*              GPIO171, GPIO101, GPIO182: 1 0 1 => A6
-*			Panda ES:
-*              GPIO2, GPIO3, GPIO171, GPIO48, GPIO182: 0 0 0 1 1 => B1/B2
-*              GPIO2, GPIO3, GPIO171, GPIO48, GPIO182: 0 0 1 1 1 => B3
-*/
-int get_board_revision(void)
-{
-	int board_id0, board_id1, board_id2;
-	int board_id3, board_id4;
-	int board_id;
-
-	int processor_rev = omap_revision();
-
-	/* Setup the mux for the common board ID pins (gpio 171 and 182) */
-	writew((IEN | M3), (*ctrl)->control_padconf_core_base + UNIPRO_TX0);
-	writew((IEN | M3), (*ctrl)->control_padconf_core_base + FREF_CLK2_OUT);
-
-	board_id0 = gpio_get_value(PANDA_ULPI_PHY_TYPE_GPIO);
-	board_id2 = gpio_get_value(PANDA_BOARD_ID_2_GPIO);
-
-	if ((processor_rev >= OMAP4460_ES1_0 &&
-	     processor_rev <= OMAP4460_ES1_1)) {
-		/*
-		 * Setup the mux for the ES specific board ID pins (gpio 101,
-		 * 2 and 3.
-		 */
-		writew((IEN | M3), (*ctrl)->control_padconf_core_base +
-				GPMC_A24);
-		writew((IEN | M3), (*ctrl)->control_padconf_core_base +
-				UNIPRO_RY0);
-		writew((IEN | M3), (*ctrl)->control_padconf_core_base +
-				UNIPRO_RX1);
-
-		board_id1 = gpio_get_value(PANDA_ES_BOARD_ID_1_GPIO);
-		board_id3 = gpio_get_value(PANDA_ES_BOARD_ID_3_GPIO);
-		board_id4 = gpio_get_value(PANDA_ES_BOARD_ID_4_GPIO);
-
-#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
-		env_set("board_name", "panda-es");
-#endif
-		board_id = ((board_id4 << 4) | (board_id3 << 3) |
-			(board_id2 << 2) | (board_id1 << 1) | (board_id0));
-	} else {
-		/* Setup the mux for the Ax specific board ID pins (gpio 101) */
-		writew((IEN | M3), (*ctrl)->control_padconf_core_base +
-				FREF_CLK2_OUT);
-
-		board_id1 = gpio_get_value(PANDA_BOARD_ID_1_GPIO);
-		board_id = ((board_id2 << 2) | (board_id1 << 1) | (board_id0));
-
-#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
-		if ((board_id >= 0x3) && (processor_rev == OMAP4430_ES2_3))
-			env_set("board_name", "panda-a4");
-#endif
-	}
-
-	return board_id;
-}
-
-/**
- * is_panda_es_rev_b3() - Detect if we are running on rev B3 of panda board ES
- *
- *
- * Detect if we are running on B3 version of ES panda board,
- * This can be done by reading the level of GPIO 171 and checking the
- * processor revisions.
- * GPIO171: 1 => Panda ES Rev B3
- *
- * Return : return 1 if Panda ES Rev B3 , else return 0
- */
-u8 is_panda_es_rev_b3(void)
-{
-        int processor_rev = omap_revision();
-        int ret = 0;
-
-        if ((processor_rev >= OMAP4460_ES1_0 &&
-             processor_rev <= OMAP4460_ES1_1)) {
-
-                /* Setup the mux for the common board ID pins (gpio 171) */
-                writew((IEN | M3),
-			(*ctrl)->control_padconf_core_base + UNIPRO_TX0);
-
-                /* if processor_rev is panda ES and GPIO171 is 1,it is rev b3 */
-                ret = gpio_get_value(PANDA_BOARD_ID_2_GPIO);
-        }
-        return ret;
-}
-
-#ifdef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
-/*
- * emif_get_reg_dump() - emif_get_reg_dump strong function
- *
- * @emif_nr - emif base
- * @regs - reg dump of timing values
- *
- * Strong function to override emif_get_reg_dump weak function in sdram_elpida.c
- */
-void emif_get_reg_dump(u32 emif_nr, const struct emif_regs **regs)
-{
-	u32 omap4_rev = omap_revision();
-
-	/* Same devices and geometry on both EMIFs */
-	if (omap4_rev == OMAP4430_ES1_0)
-		*regs = &emif_regs_elpida_380_mhz_1cs;
-	else if (omap4_rev == OMAP4430_ES2_0)
-		*regs = &emif_regs_elpida_200_mhz_2cs;
-	else if (omap4_rev == OMAP4430_ES2_3)
-		*regs = &emif_regs_elpida_400_mhz_1cs;
-	else if (omap4_rev < OMAP4470_ES1_0) {
-		if(is_panda_es_rev_b3())
-			*regs = &emif_regs_elpida_400_mhz_1cs;
-		else
-			*regs = &emif_regs_elpida_400_mhz_2cs;
-	}
-	else
-		*regs = &emif_regs_elpida_400_mhz_1cs;
-}
-
-void emif_get_dmm_regs(const struct dmm_lisa_map_regs
-						**dmm_lisa_regs)
-{
-	u32 omap_rev = omap_revision();
-
-	if (omap_rev == OMAP4430_ES1_0)
-		*dmm_lisa_regs = &lisa_map_2G_x_1_x_2;
-	else if (omap_rev == OMAP4430_ES2_3)
-		*dmm_lisa_regs = &lisa_map_2G_x_2_x_2;
-	else if (omap_rev < OMAP4460_ES1_0)
-		*dmm_lisa_regs = &lisa_map_2G_x_2_x_2;
-	else
-		*dmm_lisa_regs = &ma_lisa_map_2G_x_2_x_2;
-}
-
-#endif
-
-/**
- * @brief misc_init_r - Configure Panda board specific configurations
- * such as power configurations, ethernet initialization as phase2 of
- * boot sequence
- *
- * @return 0
- */
-int misc_init_r(void)
-{
-	int phy_type;
-	u32 auxclk, altclksrc;
-
-	/* EHCI is not supported on ES1.0 */
-	if (omap_revision() == OMAP4430_ES1_0)
-		return 0;
-
-	get_board_revision();
-
-	gpio_direction_input(PANDA_ULPI_PHY_TYPE_GPIO);
-	phy_type = gpio_get_value(PANDA_ULPI_PHY_TYPE_GPIO);
-
-	if (phy_type == 1) {
-		/* ULPI PHY supplied by auxclk3 derived from sys_clk */
-		debug("ULPI PHY supplied by auxclk3\n");
-
-		auxclk = readl(&scrm->auxclk3);
-		/* Select sys_clk */
-		auxclk &= ~AUXCLK_SRCSELECT_MASK;
-		auxclk |=  AUXCLK_SRCSELECT_SYS_CLK << AUXCLK_SRCSELECT_SHIFT;
-		/* Set the divisor to 2 */
-		auxclk &= ~AUXCLK_CLKDIV_MASK;
-		auxclk |= AUXCLK_CLKDIV_2 << AUXCLK_CLKDIV_SHIFT;
-		/* Request auxilary clock #3 */
-		auxclk |= AUXCLK_ENABLE_MASK;
-
-		writel(auxclk, &scrm->auxclk3);
-	} else {
-		/* ULPI PHY supplied by auxclk1 derived from PER dpll */
-		debug("ULPI PHY supplied by auxclk1\n");
-
-		auxclk = readl(&scrm->auxclk1);
-		/* Select per DPLL */
-		auxclk &= ~AUXCLK_SRCSELECT_MASK;
-		auxclk |=  AUXCLK_SRCSELECT_PER_DPLL << AUXCLK_SRCSELECT_SHIFT;
-		/* Set the divisor to 16 */
-		auxclk &= ~AUXCLK_CLKDIV_MASK;
-		auxclk |= AUXCLK_CLKDIV_16 << AUXCLK_CLKDIV_SHIFT;
-		/* Request auxilary clock #3 */
-		auxclk |= AUXCLK_ENABLE_MASK;
-
-		writel(auxclk, &scrm->auxclk1);
-	}
-
-	altclksrc = readl(&scrm->altclksrc);
-
-	/* Activate alternate system clock supplier */
-	altclksrc &= ~ALTCLKSRC_MODE_MASK;
-	altclksrc |= ALTCLKSRC_MODE_ACTIVE;
-
-	/* enable clocks */
-	altclksrc |= ALTCLKSRC_ENABLE_INT_MASK | ALTCLKSRC_ENABLE_EXT_MASK;
-
-	writel(altclksrc, &scrm->altclksrc);
-
-	omap_die_id_usbethaddr();
-
-	return 0;
-}
-
-void set_muxconf_regs(void)
-{
-	do_set_mux((*ctrl)->control_padconf_core_base,
-		   core_padconf_array_essential,
-		   sizeof(core_padconf_array_essential) /
-		   sizeof(struct pad_conf_entry));
-
-	do_set_mux((*ctrl)->control_padconf_wkup_base,
-		   wkup_padconf_array_essential,
-		   sizeof(wkup_padconf_array_essential) /
-		   sizeof(struct pad_conf_entry));
-
-	if (omap_revision() >= OMAP4460_ES1_0)
-		do_set_mux((*ctrl)->control_padconf_wkup_base,
-			   wkup_padconf_array_essential_4460,
-			   sizeof(wkup_padconf_array_essential_4460) /
-			   sizeof(struct pad_conf_entry));
-}
-
-#if defined(CONFIG_MMC)
-int board_mmc_init(bd_t *bis)
-{
-	return omap_mmc_init(0, 0, 0, -1, -1);
-}
-
-#if !defined(CONFIG_SPL_BUILD)
-void board_mmc_power_init(void)
-{
-	twl6030_power_mmc_init(0);
-}
-#endif
-#endif
-
-#ifdef CONFIG_USB_EHCI_HCD
-
-static struct omap_usbhs_board_data usbhs_bdata = {
-	.port_mode[0] = OMAP_EHCI_PORT_MODE_PHY,
-	.port_mode[1] = OMAP_USBHS_PORT_MODE_UNUSED,
-	.port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED,
-};
-
-int ehci_hcd_init(int index, enum usb_init_type init,
-		struct ehci_hccr **hccr, struct ehci_hcor **hcor)
-{
-	int ret;
-	unsigned int utmi_clk;
-
-	/* Now we can enable our port clocks */
-	utmi_clk = readl((void *)CM_L3INIT_HSUSBHOST_CLKCTRL);
-	utmi_clk |= HSUSBHOST_CLKCTRL_CLKSEL_UTMI_P1_MASK;
-	setbits_le32((void *)CM_L3INIT_HSUSBHOST_CLKCTRL, utmi_clk);
-
-	ret = omap_ehci_hcd_init(index, &usbhs_bdata, hccr, hcor);
-	if (ret < 0)
-		return ret;
-
-	return 0;
-}
-
-int ehci_hcd_stop(int index)
-{
-	return omap_ehci_hcd_stop();
-}
-#endif
-
-/*
- * get_board_rev() - get board revision
- */
-u32 get_board_rev(void)
-{
-	return 0x20;
-}
board/ti/panda/panda_mux_data.h deleted +0 -86
deleted file mode 100644
index ad9e36525b..0000000000
@@ -1,86 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated, <www.ti.com>
- *
- *	Balaji Krishnamoorthy	<[email protected]>
- *	Aneesh V		<[email protected]>
- */
-#ifndef _PANDA_MUX_DATA_H_
-#define _PANDA_MUX_DATA_H_
-
-#include <asm/arch/mux_omap4.h>
-
-
-const struct pad_conf_entry core_padconf_array_essential[] = {
-
-{GPMC_AD0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat0 */
-{GPMC_AD1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat1 */
-{GPMC_AD2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat2 */
-{GPMC_AD3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat3 */
-{GPMC_AD4, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat4 */
-{GPMC_AD5, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat5 */
-{GPMC_AD6, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat6 */
-{GPMC_AD7, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat7 */
-{GPMC_NOE, (PTU | IEN | OFF_EN | OFF_OUT_PTD | M1)},	 /* sdmmc2_clk */
-{GPMC_NWE, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_cmd */
-{SDMMC1_CLK, (PTU | OFF_EN | OFF_OUT_PTD | M0)},	 /* sdmmc1_clk */
-{SDMMC1_CMD, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_cmd */
-{SDMMC1_DAT0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat0 */
-{SDMMC1_DAT1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat1 */
-{SDMMC1_DAT2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat2 */
-{SDMMC1_DAT3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat3 */
-{SDMMC1_DAT4, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat4 */
-{SDMMC1_DAT5, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat5 */
-{SDMMC1_DAT6, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat6 */
-{SDMMC1_DAT7, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat7 */
-{I2C1_SCL, (PTU | IEN | M0)},				/* i2c1_scl */
-{I2C1_SDA, (PTU | IEN | M0)},				/* i2c1_sda */
-{I2C2_SCL, (PTU | IEN | M0)},				/* i2c2_scl */
-{I2C2_SDA, (PTU | IEN | M0)},				/* i2c2_sda */
-{I2C3_SCL, (PTU | IEN | M0)},				/* i2c3_scl */
-{I2C3_SDA, (PTU | IEN | M0)},				/* i2c3_sda */
-{I2C4_SCL, (PTU | IEN | M0)},				/* i2c4_scl */
-{I2C4_SDA, (PTU | IEN | M0)},				/* i2c4_sda */
-{UART3_CTS_RCTX, (PTU | IEN | M0)},			/* uart3_tx */
-{UART3_RTS_SD, (M0)},					/* uart3_rts_sd */
-{UART3_RX_IRRX, (IEN | M0)},				/* uart3_rx */
-{UART3_TX_IRTX, (M0)},					/* uart3_tx */
-{USBB1_ULPITLL_CLK, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M4)},/* usbb1_ulpiphy_clk */
-{USBB1_ULPITLL_STP, (OFF_EN | OFF_OUT_PTD | M4)},		/* usbb1_ulpiphy_stp */
-{USBB1_ULPITLL_DIR, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dir */
-{USBB1_ULPITLL_NXT, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_nxt */
-{USBB1_ULPITLL_DAT0, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat0 */
-{USBB1_ULPITLL_DAT1, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat1 */
-{USBB1_ULPITLL_DAT2, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat2 */
-{USBB1_ULPITLL_DAT3, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat3 */
-{USBB1_ULPITLL_DAT4, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat4 */
-{USBB1_ULPITLL_DAT5, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat5 */
-{USBB1_ULPITLL_DAT6, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat6 */
-{USBB1_ULPITLL_DAT7, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)},	/* usbb1_ulpiphy_dat7 */
-{USBB1_HSIC_DATA, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* usbb1_hsic_data */
-{USBB1_HSIC_STROBE, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},	/* usbb1_hsic_strobe */
-{USBC1_ICUSB_DP, (IEN | M0)},					/* usbc1_icusb_dp */
-{USBC1_ICUSB_DM, (IEN | M0)},					/* usbc1_icusb_dm */
-{UNIPRO_TY2, (PTU | IEN | M3)},					/* gpio_1 */
-{GPMC_WAIT1,  (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M3)},	/* gpio_62 */
-{FREF_CLK2_OUT, (PTU | IEN | M3)},				/* gpio_182 */
-
-};
-
-const struct pad_conf_entry wkup_padconf_array_essential[] = {
-
-{PAD1_SR_SCL, (PTU | IEN | M0)}, /* sr_scl */
-{PAD0_SR_SDA, (PTU | IEN | M0)}, /* sr_sda */
-{PAD1_SYS_32K, (IEN | M0)},	 /* sys_32k */
-{PAD0_FREF_CLK3_OUT, (M0)}, /* fref_clk3_out */
-
-};
-
-const struct pad_conf_entry wkup_padconf_array_essential_4460[] = {
-
-{PAD1_FREF_CLK4_REQ, (M3)}, /* gpio_wk7 for TPS: Mode 3 */
-
-};
-
-#endif /* _PANDA_MUX_DATA_H_ */
configs/omap4_panda_defconfig deleted +0 -42
deleted file mode 100644
index 3ac6319d2d..0000000000
@@ -1,42 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_OMAP44XX=y
-CONFIG_TARGET_OMAP4_PANDA=y
-CONFIG_SPL=y
-CONFIG_SPL_TEXT_BASE=0x40300000
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd"
-CONFIG_SYS_CONSOLE_IS_IN_ENV=y
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_VERSION_VARIABLE=y
-# CONFIG_SPL_FS_EXT4 is not set
-# CONFIG_SPL_I2C_SUPPORT is not set
-# CONFIG_SPL_NAND_SUPPORT is not set
-CONFIG_SPL_OS_BOOT=y
-CONFIG_CMD_SPL=y
-CONFIG_CMD_ASKENV=y
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_SPI=y
-CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NFS is not set
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_ENV_IS_IN_FAT=y
-CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
-CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_CONS_INDEX=3
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_OMAP3_SPI=y
-CONFIG_USB=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_MUSB_UDC=y
-CONFIG_USB_OMAP3=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_SMSC95XX=y
-CONFIG_OF_LIBFDT=y
include/configs/omap4_panda.h deleted +0 -34
deleted file mode 100644
index 835b7c299e..0000000000
@@ -1,34 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated.
- * Steve Sakoman  <[email protected]>
- *
- * Configuration settings for the TI OMAP4 Panda board.
- * See ti_omap4_common.h for OMAP4 common part
- */
-
-#ifndef __CONFIG_PANDA_H
-#define __CONFIG_PANDA_H
-
-/*
- * High Level Configuration Options
- */
-
-/* USB UHH support options */
-#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO 1
-#define CONFIG_OMAP_EHCI_PHY2_RESET_GPIO 62
-
-/* USB Networking options */
-
-#define CONFIG_UBOOT_ENABLE_PADS_ALL
-
-#include <configs/ti_omap4_common.h>
-
-/* GPIO */
-
-/* ENV related config options */
-
-#define CONFIG_ENV_OVERWRITE
-
-#endif /* __CONFIG_PANDA_H */
author
#46 lore raw

PATCH v2 15/23 ti: Drop panda board

Quoted 7 lines · Lokesh Vutla

Hi Jagan,

Quoted 3 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Quoted 7 lines
Quoted 4 lines

Drop it.

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

Jagan.

#47 lore raw

PATCH v2 15/23 ti: Drop panda board

Quoted 11 lines · Jagan Teki
Quoted 9 lines · Lokesh Vutla

Hi Jagan,

Quoted 5 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

The panda board doesn't have SPI flash why does it need to be enabled?

author
#48 lore raw

PATCH v2 15/23 ti: Drop panda board

Quoted 16 lines · On Sun, 14 Jun, 2020, 01:02 Peter Robinson, <[email protected]> wrote:
Quoted 14 lines · Jagan Teki
Quoted 12 lines · Lokesh Vutla

Hi Jagan,

Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

The panda board doesn't have SPI flash why does it need to be enabled?

Haha.. then why the defconfig has

CONFIG_SPI=y
CONFIG_OMAP3_SPI=y

Quoted 1 line
#49 lore raw

PATCH v2 15/23 ti: Drop panda board

Quoted 24 lines · Jagan Teki
Quoted 22 lines · On Sun, 14 Jun, 2020, 01:02 Peter Robinson, <[email protected]> wrote:
Quoted 19 lines · Jagan Teki
Quoted 7 lines · Lokesh Vutla

Hi Jagan,

Quoted 3 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Quoted 7 lines
Quoted 4 lines

Drop it.

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

Quoted 7 lines
Quoted 2 lines

The panda board doesn't have SPI flash why does it need to be enabled?

Haha.. then why the defconfig has

CONFIG_SPI=y
CONFIG_OMAP3_SPI=y

SPI flash no, SPI exposed on the header? Probably so.

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

PATCH v2 15/23 ti: Drop panda board

Quoted 31 lines · On Sun, 14 Jun, 2020, 01:09 Tom Rini, <[email protected]> wrote:
Quoted 1 line · Jagan Teki

On Sun, 14 Jun, 2020, 01:02 Peter Robinson, <[email protected]>

Quoted 6 lines · wrote:
Quoted 6 lines

On Sat, Jun 13, 2020 at 7:24 PM Jagan Teki <[email protected]

Quoted 2 lines · wrote:

On Fri, Jun 5, 2020 at 10:01 AM Lokesh Vutla <[email protected]>

Quoted 21 lines · wrote:
Quoted 20 lines
Quoted 9 lines
Quoted 9 lines

Hi Jagan,

Quoted 5 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

The panda board doesn't have SPI flash why does it need to be enabled?

Quoted 7 lines
Quoted 4 lines

Haha.. then why the defconfig has

CONFIG_SPI=y
CONFIG_OMAP3_SPI=y

SPI flash no, SPI exposed on the header? Probably so.

Well, in either way SPI driver required so I would like see DM_SPI enabled on that new patch.

Quoted 1 line
#51 lore raw

PATCH v2 15/23 ti: Drop panda board

Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

The panda board doesn't have SPI flash why does it need to be enabled?

Haha.. then why the defconfig has

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

CONFIG_SPI=y
CONFIG_OMAP3_SPI=y

SPI flash no, SPI exposed on the header? Probably so.

Well, in either way SPI driver required so I would like see DM_SPI enabled on that new patch.

No, it's not required, it's a custom option for bootm needing either a custom DT or an overlay. Having SPI enabled only bloats the build while not providing any useful functionality by default.

#52 lore raw

PATCH v2 15/23 ti: Drop panda board

Quoted 22 lines · Peter Robinson
Quoted 22 lines
Quoted 22 lines
Quoted 21 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180809

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

The panda board doesn't have SPI flash why does it need to be enabled?

Haha.. then why the defconfig has

CONFIG_SPI=y
CONFIG_OMAP3_SPI=y

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

SPI flash no, SPI exposed on the header? Probably so.

Well, in either way SPI driver required so I would like see DM_SPI enabled on that new patch.

No, it's not required, it's a custom option for bootm needing either a custom DT or an overlay. Having SPI enabled only bloats the build while not providing any useful functionality by default.

Does enabling SPI so that you can twiddle stuff on a Pi bloat it? No, because sometimes you want an easy interface. Same thing here. That said, it's up to the maintainer of the platform which way they care to go here since Pandaboards aren't all that popular anymore.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200613/5dd32a44/attachment.sig>
author
#53 lore raw

PATCH v2 16/23 ti: Drop sdp4430 board

In reply to Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

---
Changes for v2:
- Cced board maintainer

 arch/arm/mach-omap2/omap4/Kconfig   |   4 --
 board/ti/sdp4430/Kconfig            |  15 -----
 board/ti/sdp4430/MAINTAINERS        |   6 --
 board/ti/sdp4430/Makefile           |  10 ---
 board/ti/sdp4430/cmd_bat.c          |  41 ------------
 board/ti/sdp4430/sdp.c              | 100 ----------------------------
 board/ti/sdp4430/sdp4430_mux_data.h |  67 -------------------
 configs/omap4_sdp4430_defconfig     |  42 ------------
 include/configs/omap4_sdp4430.h     |  25 -------
 9 files changed, 310 deletions(-)
 delete mode 100644 board/ti/sdp4430/Kconfig
 delete mode 100644 board/ti/sdp4430/MAINTAINERS
 delete mode 100644 board/ti/sdp4430/Makefile
 delete mode 100644 board/ti/sdp4430/cmd_bat.c
 delete mode 100644 board/ti/sdp4430/sdp.c
 delete mode 100644 board/ti/sdp4430/sdp4430_mux_data.h
 delete mode 100644 configs/omap4_sdp4430_defconfig
 delete mode 100644 include/configs/omap4_sdp4430.h
arch/arm/mach-omap2/omap4/Kconfig +0 -4
index 4cc360f38a..f1c60f3562 100644
@@ -4,9 +4,6 @@ choice
 	prompt "OMAP4 board select"
 	optional
 
-config TARGET_OMAP4_SDP4430
-	bool "TI OMAP4 SDP4430"
-
 config TARGET_KC1
 	bool "Amazon Kindle Fire (first generation)"
 
@@ -15,7 +12,6 @@ endchoice
 config SYS_SOC
 	default "omap4"
 
-source "board/ti/sdp4430/Kconfig"
 source "board/amazon/kc1/Kconfig"
 
 endif
board/ti/sdp4430/Kconfig deleted +0 -15
deleted file mode 100644
index 36f1852821..0000000000
@@ -1,15 +0,0 @@
-if TARGET_OMAP4_SDP4430
-
-config SYS_BOARD
-	default "sdp4430"
-
-config SYS_VENDOR
-	default "ti"
-
-config SYS_CONFIG_NAME
-	default "omap4_sdp4430"
-
-config CMD_BAT
-	bool "Enable board-specific battery command"
-
-endif
board/ti/sdp4430/MAINTAINERS deleted +0 -6
deleted file mode 100644
index ac4d0ccc19..0000000000
@@ -1,6 +0,0 @@
-SDP4430 BOARD
-M:	Lokesh Vutla <[email protected]>
-S:	Maintained
-F:	board/ti/sdp4430/
-F:	include/configs/omap4_sdp4430.h
-F:	configs/omap4_sdp4430_defconfig
board/ti/sdp4430/Makefile deleted +0 -10
deleted file mode 100644
index ae06945612..0000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= sdp.o
-
-ifndef CONFIG_SPL_BUILD
-obj-y	+= cmd_bat.o
-endif
board/ti/sdp4430/cmd_bat.c deleted +0 -41

41 lines not on this page · raw message

board/ti/sdp4430/sdp.c deleted +0 -100

100 lines not on this page · raw message

board/ti/sdp4430/sdp4430_mux_data.h deleted +0 -67

67 lines not on this page · raw message

configs/omap4_sdp4430_defconfig deleted +0 -42

42 lines not on this page · raw message

include/configs/omap4_sdp4430.h deleted +0 -25
deleted file mode 100644
index 884f45df22..0000000000
@@ -1,25 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated.
- * Aneesh V       <[email protected]>
- * Steve Sakoman  <[email protected]>
- *
- * Configuration settings for the TI SDP4430 board.
- * See ti_omap4_common.h for OMAP4 common part
- */
-
-#ifndef __CONFIG_SDP4430_H
-#define __CONFIG_SDP4430_H
-
-/*
- * High Level Configuration Options
- */
-#define CONFIG_MACH_TYPE	MACH_TYPE_OMAP_4430SDP
-
-#include <configs/ti_omap4_common.h>
-
-/* ENV related config options */
-#define CONFIG_SYS_MMC_ENV_DEV		1	/* SLOT2: eMMC(1) */
-
-#endif /* __CONFIG_SDP4430_H */
Signature · 1 line
2.25.1
author
#54 lore raw

PATCH v2 16/23 ti: Drop sdp4430 board

Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lokesh Vutla <[email protected]>

Any comments?

author
#55 lore raw

PATCH v2 16/23 ti: Drop sdp4430 board

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lokesh Vutla <[email protected]>

Any comments?

Any patches for DM_SPI switch on this board?

#56 lore raw

PATCH v2 16/23 ti: Drop sdp4430 board

Quoted 7 lines · Jagan Teki
Quoted 6 lines · Jagan Teki
Quoted 4 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Drop it.

Cc Lokesh Vutla <[email protected]>

Any comments?

Any patches for DM_SPI switch on this board?

As there's been
http://patchwork.ozlabs.org/project/uboot/list/?series=183630&state=*
since this was posted, if nothing else a trivial "build tested only" patch is appropriate now if still relevant (the specific patch to this board just disabled SPI outright).

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200707/f64cedeb/attachment.sig>
author
#57 lore raw

PATCH v2 16/23 ti: Drop sdp4430 board

Quoted 15 lines · Tom Rini
Quoted 13 lines · Jagan Teki
Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lokesh Vutla <[email protected]>

Any comments?

Quoted 7 lines
Quoted 1 line

Any patches for DM_SPI switch on this board?

As there's been
http://patchwork.ozlabs.org/project/uboot/list/?series=183630&state=*
since this was posted, if nothing else a trivial "build tested only" patch is appropriate now if still relevant (the specific patch to this board just disabled SPI outright).

Better merge them as soon as possible, have SPI PR depends on this.

Jagan.

#58 lore raw

PATCH v2 16/23 ti: Drop sdp4430 board

Quoted 18 lines · Jagan Teki
Quoted 17 lines · Tom Rini
Quoted 14 lines · Jagan Teki
Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lokesh Vutla <[email protected]>

Any comments?

Any patches for DM_SPI switch on this board?

Quoted 7 lines
Quoted 5 lines

As there's been
http://patchwork.ozlabs.org/project/uboot/list/?series=183630&state=*
since this was posted, if nothing else a trivial "build tested only" patch is appropriate now if still relevant (the specific patch to this board just disabled SPI outright).

Better merge them as soon as possible, have SPI PR depends on this.

It was in -next and now in master.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200708/ab8399d9/attachment.sig>
author
#59 lore raw

PATCH v2 17/23 ti: Drop omap5 uevm

In reply to Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap5/Kconfig |   4 -
 board/ti/omap5_uevm/Kconfig       |  12 --
 board/ti/omap5_uevm/MAINTAINERS   |   6 -
 board/ti/omap5_uevm/Makefile      |   6 -
 board/ti/omap5_uevm/README        |  25 ---
 board/ti/omap5_uevm/evm.c         | 283 ------------------------------
 board/ti/omap5_uevm/mux_data.h    |  57 ------
 configs/omap5_uevm_defconfig      |  55 ------
 include/configs/omap5_uevm.h      |  62 -------
 9 files changed, 510 deletions(-)
 delete mode 100644 board/ti/omap5_uevm/Kconfig
 delete mode 100644 board/ti/omap5_uevm/MAINTAINERS
 delete mode 100644 board/ti/omap5_uevm/Makefile
 delete mode 100644 board/ti/omap5_uevm/README
 delete mode 100644 board/ti/omap5_uevm/evm.c
 delete mode 100644 board/ti/omap5_uevm/mux_data.h
 delete mode 100644 configs/omap5_uevm_defconfig
 delete mode 100644 include/configs/omap5_uevm.h
arch/arm/mach-omap2/omap5/Kconfig +0 -4
index a0c0b93a00..e73106e321 100644
@@ -9,9 +9,6 @@ choice
 	prompt "OMAP5 board select"
 	optional
 
-config TARGET_OMAP5_UEVM
-	bool "TI OMAP5 uEVM board"
-
 config TARGET_DRA7XX_EVM
 	bool "TI DRA7XX"
 	select BOARD_LATE_INIT
@@ -153,7 +150,6 @@ endchoice
 endmenu
 endif
 
-source "board/ti/omap5_uevm/Kconfig"
 source "board/ti/dra7xx/Kconfig"
 source "board/ti/am57xx/Kconfig"
 
board/ti/omap5_uevm/Kconfig deleted +0 -12
deleted file mode 100644
index aa13844544..0000000000
@@ -1,12 +0,0 @@
-if TARGET_OMAP5_UEVM
-
-config SYS_BOARD
-	default "omap5_uevm"
-
-config SYS_VENDOR
-	default "ti"
-
-config SYS_CONFIG_NAME
-	default "omap5_uevm"
-
-endif
board/ti/omap5_uevm/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 280ea2f91f..0000000000
@@ -1,6 +0,0 @@
-OMAP5_UEVM BOARD
-M:	Lokesh Vutla <[email protected]>
-S:	Maintained
-F:	board/ti/omap5_uevm/
-F:	include/configs/omap5_uevm.h
-F:	configs/omap5_uevm_defconfig
board/ti/omap5_uevm/Makefile deleted +0 -6
deleted file mode 100644
index 17ee516d26..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= evm.o
board/ti/omap5_uevm/README deleted +0 -25
deleted file mode 100644
index 970e2eceb7..0000000000
@@ -1,25 +0,0 @@
-Summary
-=======
-
-This document covers various features of the 'omap5_uevm' build and some
-related uses.
-
-eMMC boot partition use
-=======================
-
-It is possible, depending on SYSBOOT configuration to boot from the eMMC
-boot partitions using (name depending on documentation referenced)
-Alternative Boot operation mode or Boot Sequence Option 1/2.  In this
-example we load MLO and u-boot.img from the build into DDR and then use
-'mmc bootbus' to set the required rate (see TRM) and 'mmc partconfig' to
-set boot0 as the boot device.
-U-Boot # setenv autoload no
-U-Boot # usb start
-U-Boot # dhcp
-U-Boot # mmc dev 1 1
-U-Boot # tftp ${loadaddr} omap5uevm/MLO
-U-Boot # mmc write ${loadaddr} 0 100
-U-Boot # tftp ${loadaddr} omap5uevm/u-boot.img
-U-Boot # mmc write ${loadaddr} 300 400
-U-Boot # mmc bootbus 1 2 0 2
-U-Boot # mmc partconf 1 1 1 0
board/ti/omap5_uevm/evm.c deleted +0 -283

283 lines not on this page · raw message

board/ti/omap5_uevm/mux_data.h deleted +0 -57

57 lines not on this page · raw message

configs/omap5_uevm_defconfig deleted +0 -55

55 lines not on this page · raw message

include/configs/omap5_uevm.h deleted +0 -62

62 lines not on this page · raw message

Signature · 1 line
2.25.1
#60 lore raw

PATCH v2 17/23 ti: Drop omap5 uevm

Hi Jagan,

Quoted 7 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180914

Thanks and regards,
Lokesh

Quoted 600 lines

---
Changes for v2:
- none

 arch/arm/mach-omap2/omap5/Kconfig |   4 -
 board/ti/omap5_uevm/Kconfig       |  12 --
 board/ti/omap5_uevm/MAINTAINERS   |   6 -
 board/ti/omap5_uevm/Makefile      |   6 -
 board/ti/omap5_uevm/README        |  25 ---
 board/ti/omap5_uevm/evm.c         | 283 ------------------------------
 board/ti/omap5_uevm/mux_data.h    |  57 ------
 configs/omap5_uevm_defconfig      |  55 ------
 include/configs/omap5_uevm.h      |  62 -------
 9 files changed, 510 deletions(-)
 delete mode 100644 board/ti/omap5_uevm/Kconfig
 delete mode 100644 board/ti/omap5_uevm/MAINTAINERS
 delete mode 100644 board/ti/omap5_uevm/Makefile
 delete mode 100644 board/ti/omap5_uevm/README
 delete mode 100644 board/ti/omap5_uevm/evm.c
 delete mode 100644 board/ti/omap5_uevm/mux_data.h
 delete mode 100644 configs/omap5_uevm_defconfig
 delete mode 100644 include/configs/omap5_uevm.h
arch/arm/mach-omap2/omap5/Kconfig +0 -4
index a0c0b93a00..e73106e321 100644
@@ -9,9 +9,6 @@ choice
 	prompt "OMAP5 board select"
 	optional
 
-config TARGET_OMAP5_UEVM
-	bool "TI OMAP5 uEVM board"
-
 config TARGET_DRA7XX_EVM
 	bool "TI DRA7XX"
 	select BOARD_LATE_INIT
@@ -153,7 +150,6 @@ endchoice
 endmenu
 endif
 
-source "board/ti/omap5_uevm/Kconfig"
 source "board/ti/dra7xx/Kconfig"
 source "board/ti/am57xx/Kconfig"
 
board/ti/omap5_uevm/Kconfig deleted +0 -12
deleted file mode 100644
index aa13844544..0000000000
@@ -1,12 +0,0 @@
-if TARGET_OMAP5_UEVM
-
-config SYS_BOARD
-	default "omap5_uevm"
-
-config SYS_VENDOR
-	default "ti"
-
-config SYS_CONFIG_NAME
-	default "omap5_uevm"
-
-endif
board/ti/omap5_uevm/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 280ea2f91f..0000000000
@@ -1,6 +0,0 @@
-OMAP5_UEVM BOARD
-M:	Lokesh Vutla <[email protected]>
-S:	Maintained
-F:	board/ti/omap5_uevm/
-F:	include/configs/omap5_uevm.h
-F:	configs/omap5_uevm_defconfig
board/ti/omap5_uevm/Makefile deleted +0 -6
deleted file mode 100644
index 17ee516d26..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= evm.o
board/ti/omap5_uevm/README deleted +0 -25
deleted file mode 100644
index 970e2eceb7..0000000000
@@ -1,25 +0,0 @@
-Summary
-=======
-
-This document covers various features of the 'omap5_uevm' build and some
-related uses.
-
-eMMC boot partition use
-=======================
-
-It is possible, depending on SYSBOOT configuration to boot from the eMMC
-boot partitions using (name depending on documentation referenced)
-Alternative Boot operation mode or Boot Sequence Option 1/2.  In this
-example we load MLO and u-boot.img from the build into DDR and then use
-'mmc bootbus' to set the required rate (see TRM) and 'mmc partconfig' to
-set boot0 as the boot device.
-U-Boot # setenv autoload no
-U-Boot # usb start
-U-Boot # dhcp
-U-Boot # mmc dev 1 1
-U-Boot # tftp ${loadaddr} omap5uevm/MLO
-U-Boot # mmc write ${loadaddr} 0 100
-U-Boot # tftp ${loadaddr} omap5uevm/u-boot.img
-U-Boot # mmc write ${loadaddr} 300 400
-U-Boot # mmc bootbus 1 2 0 2
-U-Boot # mmc partconf 1 1 1 0
board/ti/omap5_uevm/evm.c deleted +0 -283
deleted file mode 100644
index e35f319b46..0000000000
@@ -1,283 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated, <www.ti.com>
- * Aneesh V       <[email protected]>
- * Steve Sakoman  <[email protected]>
- */
-#include <common.h>
-#include <init.h>
-#include <net.h>
-#include <palmas.h>
-#include <asm/arch/omap.h>
-#include <asm/arch/sys_proto.h>
-#include <asm/arch/mmc_host_def.h>
-#include <tca642x.h>
-#include <usb.h>
-#include <linux/delay.h>
-#include <linux/usb/gadget.h>
-#include <dwc3-uboot.h>
-#include <dwc3-omap-uboot.h>
-#include <ti-usb-phy-uboot.h>
-
-#include "mux_data.h"
-
-#if defined(CONFIG_USB_EHCI_HCD) || defined(CONFIG_USB_XHCI_OMAP)
-#include <sata.h>
-#include <usb.h>
-#include <asm/gpio.h>
-#include <asm/mach-types.h>
-#include <asm/arch/clock.h>
-#include <asm/arch/ehci.h>
-#include <asm/ehci-omap.h>
-#include <asm/arch/sata.h>
-
-#define DIE_ID_REG_BASE     (OMAP54XX_L4_CORE_BASE + 0x2000)
-#define DIE_ID_REG_OFFSET	0x200
-
-#endif
-
-DECLARE_GLOBAL_DATA_PTR;
-
-const struct omap_sysinfo sysinfo = {
-	"Board: OMAP5432 uEVM\n"
-};
-
-/**
- * @brief tca642x_init - uEVM default values for the GPIO expander
- * input reg, output reg, polarity reg, configuration reg
- */
-struct tca642x_bank_info tca642x_init[] = {
-	{ .input_reg = 0x00,
-	  .output_reg = 0x04,
-	  .polarity_reg = 0x00,
-	  .configuration_reg = 0x80 },
-	{ .input_reg = 0x00,
-	  .output_reg = 0x00,
-	  .polarity_reg = 0x00,
-	  .configuration_reg = 0xff },
-	{ .input_reg = 0x00,
-	  .output_reg = 0x00,
-	  .polarity_reg = 0x00,
-	  .configuration_reg = 0x40 },
-};
-
-#ifdef CONFIG_USB_DWC3
-static struct dwc3_device usb_otg_ss = {
-	.maximum_speed = USB_SPEED_SUPER,
-	.base = OMAP5XX_USB_OTG_SS_BASE,
-	.tx_fifo_resize = false,
-	.index = 0,
-};
-
-static struct dwc3_omap_device usb_otg_ss_glue = {
-	.base = (void *)OMAP5XX_USB_OTG_SS_GLUE_BASE,
-	.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
-	.index = 0,
-};
-
-static struct ti_usb_phy_device usb_phy_device = {
-	.pll_ctrl_base = (void *)OMAP5XX_USB3_PHY_PLL_CTRL,
-	.usb2_phy_power = (void *)OMAP5XX_USB2_PHY_POWER,
-	.usb3_phy_power = (void *)OMAP5XX_USB3_PHY_POWER,
-	.index = 0,
-};
-
-int board_usb_init(int index, enum usb_init_type init)
-{
-	if (index) {
-		printf("Invalid Controller Index\n");
-		return -EINVAL;
-	}
-
-	if (init == USB_INIT_DEVICE) {
-		usb_otg_ss.dr_mode = USB_DR_MODE_PERIPHERAL;
-		usb_otg_ss_glue.vbus_id_status = OMAP_DWC3_VBUS_VALID;
-	} else {
-		usb_otg_ss.dr_mode = USB_DR_MODE_HOST;
-		usb_otg_ss_glue.vbus_id_status = OMAP_DWC3_ID_GROUND;
-	}
-
-	enable_usb_clocks(index);
-	ti_usb_phy_uboot_init(&usb_phy_device);
-	dwc3_omap_uboot_init(&usb_otg_ss_glue);
-	dwc3_uboot_init(&usb_otg_ss);
-
-	return 0;
-}
-
-int board_usb_cleanup(int index, enum usb_init_type init)
-{
-	if (index) {
-		printf("Invalid Controller Index\n");
-		return -EINVAL;
-	}
-
-	ti_usb_phy_uboot_exit(index);
-	dwc3_uboot_exit(index);
-	dwc3_omap_uboot_exit(index);
-	disable_usb_clocks(index);
-
-	return 0;
-}
-
-int usb_gadget_handle_interrupts(int index)
-{
-	u32 status;
-
-	status = dwc3_omap_uboot_interrupt_status(index);
-	if (status)
-		dwc3_uboot_handle_interrupt(index);
-
-	return 0;
-}
-#endif
-
-/**
- * @brief board_init
- *
- * @return 0
- */
-int board_init(void)
-{
-	gpmc_init();
-	gd->bd->bi_arch_number = MACH_TYPE_OMAP5_SEVM;
-	gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
-
-	tca642x_set_inital_state(CONFIG_SYS_I2C_TCA642X_ADDR, tca642x_init);
-
-	return 0;
-}
-
-int board_eth_init(bd_t *bis)
-{
-	return 0;
-}
-
-#if defined(CONFIG_USB_EHCI_HCD) || defined(CONFIG_USB_XHCI_OMAP)
-static void enable_host_clocks(void)
-{
-	int auxclk;
-	int hs_clk_ctrl_val = (OPTFCLKEN_HSIC60M_P3_CLK |
-				OPTFCLKEN_HSIC480M_P3_CLK |
-				OPTFCLKEN_HSIC60M_P2_CLK |
-				OPTFCLKEN_HSIC480M_P2_CLK |
-				OPTFCLKEN_UTMI_P3_CLK | OPTFCLKEN_UTMI_P2_CLK);
-
-	/* Enable port 2 and 3 clocks*/
-	setbits_le32((*prcm)->cm_l3init_hsusbhost_clkctrl, hs_clk_ctrl_val);
-
-	/* Enable port 2 and 3 usb host ports tll clocks*/
-	setbits_le32((*prcm)->cm_l3init_hsusbtll_clkctrl,
-			(OPTFCLKEN_USB_CH1_CLK_ENABLE | OPTFCLKEN_USB_CH2_CLK_ENABLE));
-#ifdef CONFIG_USB_XHCI_OMAP
-	/* Enable the USB OTG Super speed clocks */
-	setbits_le32((*prcm)->cm_l3init_usb_otg_ss_clkctrl,
-			(OPTFCLKEN_REFCLK960M | OTG_SS_CLKCTRL_MODULEMODE_HW));
-#endif
-
-	auxclk = readl((*prcm)->scrm_auxclk1);
-	/* Request auxilary clock */
-	auxclk |= AUXCLK_ENABLE_MASK;
-	writel(auxclk, (*prcm)->scrm_auxclk1);
-}
-#endif
-
-/**
- * @brief misc_init_r - Configure EVM board specific configurations
- * such as power configurations, ethernet initialization as phase2 of
- * boot sequence
- *
- * @return 0
- */
-int misc_init_r(void)
-{
-#ifdef CONFIG_PALMAS_POWER
-	palmas_init_settings();
-#endif
-
-	omap_die_id_usbethaddr();
-
-	return 0;
-}
-
-void set_muxconf_regs(void)
-{
-	do_set_mux((*ctrl)->control_padconf_core_base,
-		   core_padconf_array_essential,
-		   sizeof(core_padconf_array_essential) /
-		   sizeof(struct pad_conf_entry));
-
-	do_set_mux((*ctrl)->control_padconf_wkup_base,
-		   wkup_padconf_array_essential,
-		   sizeof(wkup_padconf_array_essential) /
-		   sizeof(struct pad_conf_entry));
-}
-
-#if defined(CONFIG_MMC)
-int board_mmc_init(bd_t *bis)
-{
-	omap_mmc_init(0, 0, 0, -1, -1);
-	omap_mmc_init(1, 0, 0, -1, -1);
-	return 0;
-}
-#endif
-
-#ifdef CONFIG_USB_EHCI_HCD
-static struct omap_usbhs_board_data usbhs_bdata = {
-	.port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED,
-	.port_mode[1] = OMAP_EHCI_PORT_MODE_HSIC,
-	.port_mode[2] = OMAP_EHCI_PORT_MODE_HSIC,
-};
-
-int ehci_hcd_init(int index, enum usb_init_type init,
-		struct ehci_hccr **hccr, struct ehci_hcor **hcor)
-{
-	int ret;
-
-	enable_host_clocks();
-
-	ret = omap_ehci_hcd_init(index, &usbhs_bdata, hccr, hcor);
-	if (ret < 0) {
-		puts("Failed to initialize ehci\n");
-		return ret;
-	}
-
-	return 0;
-}
-
-int ehci_hcd_stop(void)
-{
-	return omap_ehci_hcd_stop();
-}
-
-void usb_hub_reset_devices(struct usb_hub_device *hub, int port)
-{
-	/* The LAN9730 needs to be reset after the port power has been set. */
-	if (port == 3) {
-		gpio_direction_output(CONFIG_OMAP_EHCI_PHY3_RESET_GPIO, 0);
-		udelay(10);
-		gpio_direction_output(CONFIG_OMAP_EHCI_PHY3_RESET_GPIO, 1);
-	}
-}
-#endif
-
-#ifdef CONFIG_USB_XHCI_OMAP
-/**
- * @brief board_usb_init - Configure EVM board specific configurations
- * for the LDO's and clocks for the USB blocks.
- *
- * @return 0
- */
-int board_usb_init(int index, enum usb_init_type init)
-{
-	int ret;
-#ifdef CONFIG_PALMAS_USB_SS_PWR
-	ret = palmas_enable_ss_ldo();
-#endif
-
-	enable_host_clocks();
-
-	return 0;
-}
-#endif
board/ti/omap5_uevm/mux_data.h deleted +0 -57
deleted file mode 100644
index 3c4ba47497..0000000000
@@ -1,57 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated, <www.ti.com>
- *
- *	Sricharan R		<[email protected]>
- */
-#ifndef _EVM5430_MUX_DATA_H
-#define _EVM5430_MUX_DATA_H
-
-#include <asm/arch/mux_omap5.h>
-
-const struct pad_conf_entry core_padconf_array_essential[] = {
-
-	{EMMC_CLK, (PTU | IEN | M0)}, /*  EMMC_CLK   */
-	{EMMC_CMD, (PTU | IEN | M0)}, /*  EMMC_CMD   */
-	{EMMC_DATA0, (PTU | IEN | M0)}, /*  EMMC_DATA0 */
-	{EMMC_DATA1, (PTU | IEN | M0)}, /*  EMMC_DATA1 */
-	{EMMC_DATA2, (PTU | IEN | M0)}, /*  EMMC_DATA2 */
-	{EMMC_DATA3, (PTU | IEN | M0)}, /*  EMMC_DATA3 */
-	{EMMC_DATA4, (PTU | IEN | M0)}, /*  EMMC_DATA4 */
-	{EMMC_DATA5, (PTU | IEN | M0)}, /*  EMMC_DATA5 */
-	{EMMC_DATA6, (PTU | IEN | M0)}, /*  EMMC_DATA6 */
-	{EMMC_DATA7, (PTU | IEN | M0)}, /*  EMMC_DATA7 */
-	{SDCARD_CLK, (PTU | IEN | M0)}, /*  SDCARD_CLK  */
-	{SDCARD_CMD, (PTU | IEN | M0)}, /*  SDCARD_CMD  */
-	{SDCARD_DATA0, (PTU | IEN | M0)}, /*  SDCARD_DATA0*/
-	{SDCARD_DATA1, (PTU | IEN | M0)}, /*  SDCARD_DATA1*/
-	{SDCARD_DATA2, (PTU | IEN | M0)}, /*  SDCARD_DATA2*/
-	{SDCARD_DATA3, (PTU | IEN | M0)}, /*  SDCARD_DATA3*/
-	{UART3_RX_IRRX, (PTU | IEN | M0)}, /*  UART3_RX_IRRX    */
-	{UART3_TX_IRTX, (M0)},    /*  UART3_TX_IRTX    */
-	{USBB1_HSIC_STROBE, (PTU | IEN | M0)},    /*  USBB1_HSIC_STROBE */
-	{USBB1_HSIC_DATA, (PTU | IEN | M0)},    /*  USBB1_HSIC_DATA */
-	{USBB2_HSIC_STROBE, (PTU | IEN | M0)},    /*  USBB2_HSIC_STROBE */
-	{USBB2_HSIC_DATA, (PTU | IEN | M0)},    /*  USBB2_HSIC_DATA  */
-	{USBB3_HSIC_STROBE, (PTU | IEN | M0)},    /*  USBB3_HSIC_STROBE*/
-	{USBB3_HSIC_DATA, (PTU | IEN | M0)},    /*  USBB3_HSIC_DATA  */
-	{USBD0_HS_DP, (IEN | M0)},	/*  USBD0_HS_DP */
-	{USBD0_HS_DM, (IEN | M0)},	/*  USBD0_HS_DM */
-	{USBD0_SS_RX, (IEN | M0)},	/*  USBD0_SS_RX */
-	{I2C5_SCL, (IEN | M0)}, /* I2C5_SCL */
-	{I2C5_SDA, (IEN | M0)}, /* I2C5_SDA */
-	{HSI2_ACWAKE, (PTU | M6)},    /*  HSI2_ACWAKE */
-	{HSI2_CAFLAG, (PTU | M6)},    /*  HSI2_CAFLAG */
-};
-
-const struct pad_conf_entry wkup_padconf_array_essential[] = {
-
-	{SR_PMIC_SCL, (PTU | IEN | M0)}, /* SR_PMIC_SCL */
-	{SR_PMIC_SDA, (PTU | IEN | M0)}, /* SR_PMIC_SDA */
-	{SYS_32K, (IEN | M0)}, /*  SYS_32K     */
-	{FREF_CLK1_OUT, (PTD | IEN | M0)},    /*  FREF_CLK1_OUT  */
-
-};
-
-#endif /* _EVM4430_MUX_DATA_H */
configs/omap5_uevm_defconfig deleted +0 -55
deleted file mode 100644
index 487f7f305c..0000000000
@@ -1,55 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_OMAP54XX=y
-CONFIG_TARGET_OMAP5_UEVM=y
-CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC=16296
-CONFIG_SPL=y
-CONFIG_ENV_OFFSET_REDUND=0x280000
-CONFIG_ARMV7_LPAE=y
-CONFIG_SPL_TEXT_BASE=0x40300000
-CONFIG_DISTRO_DEFAULTS=y
-# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_VERSION_VARIABLE=y
-# CONFIG_SPL_NAND_SUPPORT is not set
-CONFIG_SPL_OS_BOOT=y
-CONFIG_CMD_SPL=y
-CONFIG_CMD_ASKENV=y
-CONFIG_CMD_DFU=y
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_GPT=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_SPI=y
-CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_ENV_IS_IN_MMC=y
-CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
-CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
-CONFIG_SCSI_AHCI=y
-CONFIG_DFU_MMC=y
-CONFIG_DFU_RAM=y
-CONFIG_CMD_TCA642X=y
-CONFIG_SUPPORT_EMMC_BOOT=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_SCSI=y
-CONFIG_CONS_INDEX=3
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_OMAP3_SPI=y
-CONFIG_USB=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_DWC3=y
-CONFIG_USB_DWC3_OMAP=y
-CONFIG_USB_DWC3_PHY_OMAP=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
-CONFIG_USB_GADGET_VENDOR_NUM=0x0403
-CONFIG_USB_GADGET_PRODUCT_NUM=0xbd00
-CONFIG_USB_GADGET_DOWNLOAD=y
-CONFIG_USB_HOST_ETHER=y
-CONFIG_USB_ETHER_SMSC95XX=y
-CONFIG_FAT_WRITE=y
-CONFIG_OF_LIBFDT=y
include/configs/omap5_uevm.h deleted +0 -62
deleted file mode 100644
index 53589c03ea..0000000000
@@ -1,62 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2013
- * Texas Instruments Incorporated.
- * Sricharan R	  <[email protected]>
- *
- * Configuration settings for the TI EVM5430 board.
- * See ti_omap5_common.h for omap5 common settings.
- */
-
-#ifndef __CONFIG_OMAP5_EVM_H
-#define __CONFIG_OMAP5_EVM_H
-
-#include <environment/ti/dfu.h>
-
-#ifndef CONFIG_SPL_BUILD
-/* Define the default GPT table for eMMC */
-#define PARTS_DEFAULT \
-	"uuid_disk=${uuid_gpt_disk};" \
-	"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
-#endif
-
-#define DFUARGS \
-	"dfu_bufsiz=0x10000\0" \
-	DFU_ALT_INFO_MMC \
-	DFU_ALT_INFO_EMMC \
-	DFU_ALT_INFO_RAM
-
-#include <configs/ti_omap5_common.h>
-
-#define CONFIG_SYS_NS16550_COM3		UART3_BASE
-
-/* MMC ENV related defines */
-#define CONFIG_SYS_MMC_ENV_DEV		1	/* SLOT2: eMMC(1) */
-
-/* Enhance our eMMC support / experience. */
-#define CONFIG_HSMMC2_8BIT
-
-/* Required support for the TCA642X GPIO we have on the uEVM */
-#define CONFIG_TCA642X
-#define CONFIG_SYS_I2C_TCA642X_BUS_NUM 4
-#define CONFIG_SYS_I2C_TCA642X_ADDR 0x22
-
-/* USB UHH support options */
-#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-
-#define CONFIG_OMAP_EHCI_PHY2_RESET_GPIO 80
-#define CONFIG_OMAP_EHCI_PHY3_RESET_GPIO 79
-
-/* Enabled commands */
-
-/* USB Networking options */
-
-#define CONSOLEDEV		"ttyS2"
-
-#define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_SYS_SCSI_MAX_SCSI_ID	1
-#define CONFIG_SYS_SCSI_MAX_LUN		1
-#define CONFIG_SYS_SCSI_MAX_DEVICE	(CONFIG_SYS_SCSI_MAX_SCSI_ID * \
-						CONFIG_SYS_SCSI_MAX_LUN)
-
-#endif /* __CONFIG_OMAP5_EVM_H */
author
#61 lore raw

PATCH v2 17/23 ti: Drop omap5 uevm

Quoted 7 lines · Lokesh Vutla

Hi Jagan,

Quoted 3 lines · Jagan Teki

DM, DM_SPI and other driver model migration deadlines are expired for this board.

Quoted 7 lines
Quoted 4 lines

Drop it.

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180914

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if so please add it next version?

Jagan.

author
#62 lore raw

PATCH v2 18/23 birdland: Drop bav335x

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Gilles Gameiro <[email protected]>

---
Changes for v2:
- new patch

 arch/arm/Kconfig                   |   1 -
 arch/arm/mach-omap2/am33xx/Kconfig |  15 -
 board/birdland/bav335x/Kconfig     |  23 --
 board/birdland/bav335x/MAINTAINERS |  13 -
 board/birdland/bav335x/Makefile    |  11 -
 board/birdland/bav335x/README      |  31 --
 board/birdland/bav335x/board.c     | 432 --------------------------
 board/birdland/bav335x/board.h     |  58 ----
 board/birdland/bav335x/mux.c       | 190 ------------
 board/birdland/bav335x/u-boot.lds  | 115 -------
 configs/birdland_bav335a_defconfig |  69 -----
 configs/birdland_bav335b_defconfig |  69 -----
 include/configs/bav335x.h          | 475 -----------------------------
 13 files changed, 1502 deletions(-)
 delete mode 100644 board/birdland/bav335x/Kconfig
 delete mode 100644 board/birdland/bav335x/MAINTAINERS
 delete mode 100644 board/birdland/bav335x/Makefile
 delete mode 100644 board/birdland/bav335x/README
 delete mode 100644 board/birdland/bav335x/board.c
 delete mode 100644 board/birdland/bav335x/board.h
 delete mode 100644 board/birdland/bav335x/mux.c
 delete mode 100644 board/birdland/bav335x/u-boot.lds
 delete mode 100644 configs/birdland_bav335a_defconfig
 delete mode 100644 configs/birdland_bav335b_defconfig
 delete mode 100644 include/configs/bav335x.h
arch/arm/Kconfig +0 -1
index 21df1c415f..3dbde6fc45 100644
@@ -1914,7 +1914,6 @@ source "board/spear/spear600/Kconfig"
 source "board/spear/x600/Kconfig"
 source "board/st/stv0991/Kconfig"
 source "board/tcl/sl50/Kconfig"
-source "board/birdland/bav335x/Kconfig"
 source "board/toradex/colibri_pxa270/Kconfig"
 source "board/variscite/dart_6ul/Kconfig"
 source "board/vscom/baltos/Kconfig"
arch/arm/mach-omap2/am33xx/Kconfig +0 -15
index 39d9c2873b..a93fbf4ea0 100644
@@ -103,21 +103,6 @@ config TARGET_AM335X_SL50
 	select DM_SERIAL
 	imply CMD_DM
 
-config TARGET_BAV335X
-	bool "Support bav335x"
-	select BOARD_LATE_INIT
-	select DM
-	select DM_SERIAL
-	imply CMD_DM
-	help
-	  The BAV335x OEM Network Processor integrates all the functions of an
-	  embedded network computer in a small, easy to use SODIMM module which
-	  incorporates the popular Texas Instruments Sitara 32bit ARM Coretex-A8
-	  processor, with fast DDR3 512MB SDRAM, 4GB of embedded MMC and a Gigabit
-	  ethernet with simple connection to external connectors.
-
-	  For more information, visit: http://birdland.com/oem
-
 config TARGET_BRXRE1
 	bool "Support BRXRE1"
 	select BOARD_LATE_INIT
board/birdland/bav335x/Kconfig deleted +0 -23
deleted file mode 100644
index 40053665aa..0000000000
@@ -1,23 +0,0 @@
-if TARGET_BAV335X
-
-config SYS_BOARD
-	default "bav335x"
-
-config SYS_VENDOR
-	default "birdland"
-
-config SYS_SOC
-	default "am33xx"
-
-config SYS_CONFIG_NAME
-	default "bav335x"
-
-config BAV_VERSION
-	int "BAV335x Version (1=A, 2=B)"
-	range 1 2
-	help
-	  The BAV335x has various version of the board. Rev.A (mostly obsolete)
-	  used 10/100 Ethernet PHY while Rev.B uses a Gigabit Ethernet PHY.
-	  Overwrite this if you have an older Rev.A and want ethernet support.
-
-endif
board/birdland/bav335x/MAINTAINERS deleted +0 -13
deleted file mode 100644
index 45dcfcb1e6..0000000000
@@ -1,13 +0,0 @@
-BAV335x BOARD
-M:	Gilles Gameiro <[email protected]>
-S:	Maintained
-F:	include/configs/bav335x.h
-F:	board/birdland/bav335x/Kconfig
-F:	board/birdland/bav335x/Makefile
-F:	board/birdland/bav335x/README
-F:	board/birdland/bav335x/board.c
-F:	board/birdland/bav335x/board.h
-F:	board/birdland/bav335x/mux.c
-F:	board/birdland/bav335x/u-boot.lds
-F:	configs/birdland_bav335a_defconfig
-F:	configs/birdland_bav335b_defconfig
board/birdland/bav335x/Makefile deleted +0 -11
deleted file mode 100644
index 42cefa1f85..0000000000
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Makefile
-#
-# Copyright (C) 2012-2014, Birdland Audio - http://birdland.com/oem
-
-ifeq ($(CONFIG_SKIP_LOWLEVEL_INIT),)
-obj-y	:= mux.o
-endif
-
-obj-y	+= board.o
board/birdland/bav335x/README deleted +0 -31
deleted file mode 100644
index 08c73eee0c..0000000000
@@ -1,31 +0,0 @@
-Summary
-=======
-
-This document covers various features of the 'BAV335x' board build.
-For more information about this board, visit http://birdland.com/oem
-
-
-Hardware
-========
-
-The binary produced supports the bav335x Rev.A with 10/100 MB PHY
-and Rev.B (default) with GB ethernet PHY.
-If the BAV335x EEPROM is populated and programmed, the board will
-automatically detect the version and extract proper serial# and
-mac address from the EE.
-
-
-Customization
-=============
-
-The following blocks are required:
-- I2C, to talk with the PMIC and ensure that we do not run afoul of
-  errata 1.0.24.
-
-When removing options as part of customization,
-CONFIG_EXTRA_ENV_SETTINGS will need additional care to update for your
-needs and to remove no longer relevant options as in some cases we
-define additional text blocks (such as for NAND or DFU strings).  Also
-note that all of the SPL options are grouped together, rather than with
-the IP blocks, so both areas will need their choices updated to reflect
-the custom design.
board/birdland/bav335x/board.c deleted +0 -432

432 lines not on this page · raw message

board/birdland/bav335x/board.h deleted +0 -58

58 lines not on this page · raw message

board/birdland/bav335x/mux.c deleted +0 -190

190 lines not on this page · raw message

board/birdland/bav335x/u-boot.lds deleted +0 -115

115 lines not on this page · raw message

configs/birdland_bav335a_defconfig deleted +0 -69

69 lines not on this page · raw message

configs/birdland_bav335b_defconfig deleted +0 -69

69 lines not on this page · raw message

include/configs/bav335x.h deleted +0 -475

475 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#63 lore raw

PATCH v2 18/23 birdland: Drop bav335x

Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Gilles Gameiro <[email protected]>

Any comments?

author
#64 lore raw

PATCH v2 18/23 birdland: Drop bav335x

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Gilles Gameiro <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#65 lore raw

PATCH v2 19/23 gumstix: Drop pepper

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

---
Changes for v2:
- new patch

 arch/arm/Kconfig                   |   1 -
 arch/arm/mach-omap2/am33xx/Kconfig |   7 -
 board/gumstix/pepper/Kconfig       |  15 --
 board/gumstix/pepper/MAINTAINERS   |   6 -
 board/gumstix/pepper/Makefile      |  11 --
 board/gumstix/pepper/board.c       | 288 -----------------------------
 board/gumstix/pepper/board.h       |  31 ----
 board/gumstix/pepper/mux.c         |  82 --------
 configs/pepper_defconfig           |  42 -----
 include/configs/pepper.h           |  78 --------
 10 files changed, 561 deletions(-)
 delete mode 100644 board/gumstix/pepper/Kconfig
 delete mode 100644 board/gumstix/pepper/MAINTAINERS
 delete mode 100644 board/gumstix/pepper/Makefile
 delete mode 100644 board/gumstix/pepper/board.c
 delete mode 100644 board/gumstix/pepper/board.h
 delete mode 100644 board/gumstix/pepper/mux.c
 delete mode 100644 configs/pepper_defconfig
 delete mode 100644 include/configs/pepper.h
arch/arm/Kconfig +0 -1
index 3dbde6fc45..9d3f00120f 100644
@@ -1900,7 +1900,6 @@ 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/hisilicon/hikey/Kconfig"
 source "board/hisilicon/hikey960/Kconfig"
 source "board/hisilicon/poplar/Kconfig"
arch/arm/mach-omap2/am33xx/Kconfig +0 -7
index a93fbf4ea0..bb8959e7a7 100644
@@ -160,13 +160,6 @@ config TARGET_PENGWYN
 	select DM_SERIAL
 	imply CMD_DM
 
-config TARGET_PEPPER
-	bool "Support pepper"
-	select DM
-	select DM_GPIO
-	select DM_SERIAL
-	imply CMD_DM
-
 config TARGET_PHYCORE_AM335X_R2
 	bool "Support phyCORE AM335X R2"
 	select DM
board/gumstix/pepper/Kconfig deleted +0 -15
deleted file mode 100644
index 6f94612fe2..0000000000
@@ -1,15 +0,0 @@
-if TARGET_PEPPER
-
-config SYS_BOARD
-	default "pepper"
-
-config SYS_VENDOR
-	default "gumstix"
-
-config SYS_SOC
-	default "am33xx"
-
-config SYS_CONFIG_NAME
-	default "pepper"
-
-endif
board/gumstix/pepper/MAINTAINERS deleted +0 -6
deleted file mode 100644
index ae860ecf1a..0000000000
@@ -1,6 +0,0 @@
-PEPPER BOARD
-M:	Ash Charles <[email protected]>
-S:	Maintained
-F:	board/gumstix/pepper/
-F:	include/configs/pepper.h
-F:	configs/pepper_defconfig
board/gumstix/pepper/Makefile deleted +0 -11
deleted file mode 100644
index ff6f8b4221..0000000000
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Makefile
-#
-# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
-
-ifdef CONFIG_SPL_BUILD
-obj-y	+= mux.o
-endif
-
-obj-y	+= board.o
board/gumstix/pepper/board.c deleted +0 -288

288 lines not on this page · raw message

board/gumstix/pepper/board.h deleted +0 -31
deleted file mode 100644
index e3870d698f..0000000000
@@ -1,31 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Gumstix Pepper and AM335x-based boards information header
- *
- * Copyright (C) 2014, Gumstix, Inc. - http://www.gumstix.com/
- */
-
-#ifndef _BOARD_H_
-#define _BOARD_H_
-
-#define GUMSTIX_PEPPER		0x30000200
-#define GUMSTIX_PEPPER_DVI	0x31000200
-
-struct pepper_board_id {
-	unsigned int device_vendor;
-	unsigned char revision;
-	unsigned char content;
-	char fab_revision[8];
-	char env_var[16];
-	char en_setting[64];
-};
-
-/*
- * We must be able to enable uart0, for initial output. We then have a
- * main pinmux function that can be overridden to enable all other pinmux that
- * is required on the board.
- */
-void enable_uart0_pin_mux(void);
-void enable_board_pin_mux(void);
-void enable_i2c0_pin_mux(void);
-#endif
board/gumstix/pepper/mux.c deleted +0 -82

82 lines not on this page · raw message

configs/pepper_defconfig deleted +0 -42

42 lines not on this page · raw message

include/configs/pepper.h deleted +0 -78

78 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#66 lore raw

PATCH v2 19/23 gumstix: Drop pepper

Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Ash Charles <[email protected]>

Any comments?

author
#67 lore raw

PATCH v2 19/23 gumstix: Drop pepper

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Ash Charles <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#68 lore raw

PATCH v2 20/23 phytec: Drop pcm051

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lars Poeschel <[email protected]>

---
Changes for v2:
- new patch

 arch/arm/Kconfig                   |   1 -
 arch/arm/mach-omap2/am33xx/Kconfig |   7 -
 board/phytec/pcm051/Kconfig        |  15 --
 board/phytec/pcm051/MAINTAINERS    |   7 -
 board/phytec/pcm051/Makefile       |  11 --
 board/phytec/pcm051/board.c        | 258 -----------------------------
 board/phytec/pcm051/board.h        |  24 ---
 board/phytec/pcm051/mux.c          | 127 --------------
 configs/pcm051_rev1_defconfig      |  60 -------
 configs/pcm051_rev3_defconfig      |  60 -------
 include/configs/pcm051.h           | 128 --------------
 11 files changed, 698 deletions(-)
 delete mode 100644 board/phytec/pcm051/Kconfig
 delete mode 100644 board/phytec/pcm051/MAINTAINERS
 delete mode 100644 board/phytec/pcm051/Makefile
 delete mode 100644 board/phytec/pcm051/board.c
 delete mode 100644 board/phytec/pcm051/board.h
 delete mode 100644 board/phytec/pcm051/mux.c
 delete mode 100644 configs/pcm051_rev1_defconfig
 delete mode 100644 configs/pcm051_rev3_defconfig
 delete mode 100644 include/configs/pcm051.h
arch/arm/Kconfig +0 -1
index 9d3f00120f..7f328e6afe 100644
@@ -1904,7 +1904,6 @@ source "board/hisilicon/hikey/Kconfig"
 source "board/hisilicon/hikey960/Kconfig"
 source "board/hisilicon/poplar/Kconfig"
 source "board/isee/igep003x/Kconfig"
-source "board/phytec/pcm051/Kconfig"
 source "board/silica/pengwyn/Kconfig"
 source "board/spear/spear300/Kconfig"
 source "board/spear/spear310/Kconfig"
arch/arm/mach-omap2/am33xx/Kconfig +0 -7
index bb8959e7a7..60e5ec5684 100644
@@ -146,13 +146,6 @@ config TARGET_ETAMIN
 	select DM_SERIAL
 	imply CMD_DM
 
-config TARGET_PCM051
-	bool "Support pcm051"
-	select DM
-	select DM_GPIO
-	select DM_SERIAL
-	imply CMD_DM
-
 config TARGET_PENGWYN
 	bool "Support pengwyn"
 	select DM
board/phytec/pcm051/Kconfig deleted +0 -15
deleted file mode 100644
index 2cc0d8872d..0000000000
@@ -1,15 +0,0 @@
-if TARGET_PCM051
-
-config SYS_BOARD
-	default "pcm051"
-
-config SYS_VENDOR
-	default "phytec"
-
-config SYS_SOC
-	default "am33xx"
-
-config SYS_CONFIG_NAME
-	default "pcm051"
-
-endif
board/phytec/pcm051/MAINTAINERS deleted +0 -7
deleted file mode 100644
index 18ea636a83..0000000000
@@ -1,7 +0,0 @@
-PCM051 BOARD
-M:	Lars Poeschel <[email protected]>
-S:	Maintained
-F:	board/phytec/pcm051/
-F:	include/configs/pcm051.h
-F:	configs/pcm051_rev1_defconfig
-F:	configs/pcm051_rev3_defconfig
board/phytec/pcm051/Makefile deleted +0 -11
deleted file mode 100644
index ff6f8b4221..0000000000
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Makefile
-#
-# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
-
-ifdef CONFIG_SPL_BUILD
-obj-y	+= mux.o
-endif
-
-obj-y	+= board.o
board/phytec/pcm051/board.c deleted +0 -258

258 lines not on this page · raw message

board/phytec/pcm051/board.h deleted +0 -24
deleted file mode 100644
index 3366e51c85..0000000000
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * board.h
- *
- * Phytec phyCORE-AM335x (pcm051) boards information header
- *
- * Copyright (C) 2013, Lemonage Software GmbH
- * Author Lars Poeschel <[email protected]>
- */
-
-#ifndef _BOARD_H_
-#define _BOARD_H_
-
-/*
- * We have three pin mux functions that must exist.  We must be able to enable
- * uart0, for initial output and i2c0 to read the main EEPROM.  We then have a
- * main pinmux function that can be overridden to enable all other pinmux that
- * is required on the board.
- */
-void enable_uart0_pin_mux(void);
-void enable_i2c0_pin_mux(void);
-void enable_board_pin_mux(void);
-void enable_cbmux_pin_mux(void);
-#endif
board/phytec/pcm051/mux.c deleted +0 -127

127 lines not on this page · raw message

configs/pcm051_rev1_defconfig deleted +0 -60

60 lines not on this page · raw message

configs/pcm051_rev3_defconfig deleted +0 -60

60 lines not on this page · raw message

include/configs/pcm051.h deleted +0 -128

128 lines not on this page · raw message

Signature · 1 line
2.25.1
#69 lore raw

PATCH v2 20/23 phytec: Drop pcm051

Quoted 4 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Quoted 806 lines
Cc Lars Poeschel <[email protected]>

---
Changes for v2:
- new patch

 arch/arm/Kconfig                   |   1 -
 arch/arm/mach-omap2/am33xx/Kconfig |   7 -
 board/phytec/pcm051/Kconfig        |  15 --
 board/phytec/pcm051/MAINTAINERS    |   7 -
 board/phytec/pcm051/Makefile       |  11 --
 board/phytec/pcm051/board.c        | 258 -----------------------------
 board/phytec/pcm051/board.h        |  24 ---
 board/phytec/pcm051/mux.c          | 127 --------------
 configs/pcm051_rev1_defconfig      |  60 -------
 configs/pcm051_rev3_defconfig      |  60 -------
 include/configs/pcm051.h           | 128 --------------
 11 files changed, 698 deletions(-)
 delete mode 100644 board/phytec/pcm051/Kconfig
 delete mode 100644 board/phytec/pcm051/MAINTAINERS
 delete mode 100644 board/phytec/pcm051/Makefile
 delete mode 100644 board/phytec/pcm051/board.c
 delete mode 100644 board/phytec/pcm051/board.h
 delete mode 100644 board/phytec/pcm051/mux.c
 delete mode 100644 configs/pcm051_rev1_defconfig
 delete mode 100644 configs/pcm051_rev3_defconfig
 delete mode 100644 include/configs/pcm051.h
arch/arm/Kconfig +0 -1
index 9d3f00120f..7f328e6afe 100644
@@ -1904,7 +1904,6 @@ source "board/hisilicon/hikey/Kconfig"
 source "board/hisilicon/hikey960/Kconfig"
 source "board/hisilicon/poplar/Kconfig"
 source "board/isee/igep003x/Kconfig"
-source "board/phytec/pcm051/Kconfig"
 source "board/silica/pengwyn/Kconfig"
 source "board/spear/spear300/Kconfig"
 source "board/spear/spear310/Kconfig"
arch/arm/mach-omap2/am33xx/Kconfig +0 -7
index bb8959e7a7..60e5ec5684 100644
@@ -146,13 +146,6 @@ config TARGET_ETAMIN
 	select DM_SERIAL
 	imply CMD_DM
 
-config TARGET_PCM051
-	bool "Support pcm051"
-	select DM
-	select DM_GPIO
-	select DM_SERIAL
-	imply CMD_DM
-
 config TARGET_PENGWYN
 	bool "Support pengwyn"
 	select DM
board/phytec/pcm051/Kconfig deleted +0 -15
deleted file mode 100644
index 2cc0d8872d..0000000000
@@ -1,15 +0,0 @@
-if TARGET_PCM051
-
-config SYS_BOARD
-	default "pcm051"
-
-config SYS_VENDOR
-	default "phytec"
-
-config SYS_SOC
-	default "am33xx"
-
-config SYS_CONFIG_NAME
-	default "pcm051"
-
-endif
board/phytec/pcm051/MAINTAINERS deleted +0 -7
deleted file mode 100644
index 18ea636a83..0000000000
@@ -1,7 +0,0 @@
-PCM051 BOARD
-M:	Lars Poeschel <[email protected]>
-S:	Maintained
-F:	board/phytec/pcm051/
-F:	include/configs/pcm051.h
-F:	configs/pcm051_rev1_defconfig
-F:	configs/pcm051_rev3_defconfig
board/phytec/pcm051/Makefile deleted +0 -11
deleted file mode 100644
index ff6f8b4221..0000000000
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Makefile
-#
-# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
-
-ifdef CONFIG_SPL_BUILD
-obj-y	+= mux.o
-endif
-
-obj-y	+= board.o
board/phytec/pcm051/board.c deleted +0 -258
deleted file mode 100644
index 6f1ada82c4..0000000000
@@ -1,258 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * board.c
- *
- * Board functions for Phytec phyCORE-AM335x (pcm051) based boards
- *
- * Copyright (C) 2013 Lemonage Software GmbH
- * Author Lars Poeschel <[email protected]>
- */
-
-#include <common.h>
-#include <env.h>
-#include <errno.h>
-#include <init.h>
-#include <net.h>
-#include <spl.h>
-#include <asm/arch/cpu.h>
-#include <asm/arch/hardware.h>
-#include <asm/arch/omap.h>
-#include <asm/arch/ddr_defs.h>
-#include <asm/arch/clock.h>
-#include <asm/arch/gpio.h>
-#include <asm/arch/mmc_host_def.h>
-#include <asm/arch/sys_proto.h>
-#include <asm/io.h>
-#include <asm/emif.h>
-#include <asm/gpio.h>
-#include <i2c.h>
-#include <miiphy.h>
-#include <cpsw.h>
-#include "board.h"
-
-DECLARE_GLOBAL_DATA_PTR;
-
-/* MII mode defines */
-#define RMII_RGMII2_MODE_ENABLE	0x49
-
-static struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE;
-
-#ifdef CONFIG_SPL_BUILD
-
-/* DDR RAM defines */
-#define DDR_CLK_MHZ		303 /* DDR_DPLL_MULT value */
-
-#define OSC	(V_OSCK/1000000)
-const struct dpll_params dpll_ddr = {
-		DDR_CLK_MHZ, OSC-1, 1, -1, -1, -1, -1};
-
-const struct dpll_params *get_dpll_ddr_params(void)
-{
-	return &dpll_ddr;
-}
-
-#ifdef CONFIG_REV1
-const struct ctrl_ioregs ioregs = {
-	.cm0ioctl		= MT41J256M8HX15E_IOCTRL_VALUE,
-	.cm1ioctl		= MT41J256M8HX15E_IOCTRL_VALUE,
-	.cm2ioctl		= MT41J256M8HX15E_IOCTRL_VALUE,
-	.dt0ioctl		= MT41J256M8HX15E_IOCTRL_VALUE,
-	.dt1ioctl		= MT41J256M8HX15E_IOCTRL_VALUE,
-};
-
-static const struct ddr_data ddr3_data = {
-	.datardsratio0 = MT41J256M8HX15E_RD_DQS,
-	.datawdsratio0 = MT41J256M8HX15E_WR_DQS,
-	.datafwsratio0 = MT41J256M8HX15E_PHY_FIFO_WE,
-	.datawrsratio0 = MT41J256M8HX15E_PHY_WR_DATA,
-};
-
-static const struct cmd_control ddr3_cmd_ctrl_data = {
-	.cmd0csratio = MT41J256M8HX15E_RATIO,
-	.cmd0iclkout = MT41J256M8HX15E_INVERT_CLKOUT,
-
-	.cmd1csratio = MT41J256M8HX15E_RATIO,
-	.cmd1iclkout = MT41J256M8HX15E_INVERT_CLKOUT,
-
-	.cmd2csratio = MT41J256M8HX15E_RATIO,
-	.cmd2iclkout = MT41J256M8HX15E_INVERT_CLKOUT,
-};
-
-static struct emif_regs ddr3_emif_reg_data = {
-	.sdram_config = MT41J256M8HX15E_EMIF_SDCFG,
-	.ref_ctrl = MT41J256M8HX15E_EMIF_SDREF,
-	.sdram_tim1 = MT41J256M8HX15E_EMIF_TIM1,
-	.sdram_tim2 = MT41J256M8HX15E_EMIF_TIM2,
-	.sdram_tim3 = MT41J256M8HX15E_EMIF_TIM3,
-	.zq_config = MT41J256M8HX15E_ZQ_CFG,
-	.emif_ddr_phy_ctlr_1 = MT41J256M8HX15E_EMIF_READ_LATENCY |
-				PHY_EN_DYN_PWRDN,
-};
-
-void sdram_init(void)
-{
-	config_ddr(DDR_CLK_MHZ, &ioregs, &ddr3_data,
-		   &ddr3_cmd_ctrl_data, &ddr3_emif_reg_data, 0);
-}
-#else
-const struct ctrl_ioregs ioregs = {
-	.cm0ioctl		= MT41K256M16HA125E_IOCTRL_VALUE,
-	.cm1ioctl		= MT41K256M16HA125E_IOCTRL_VALUE,
-	.cm2ioctl		= MT41K256M16HA125E_IOCTRL_VALUE,
-	.dt0ioctl		= MT41K256M16HA125E_IOCTRL_VALUE,
-	.dt1ioctl		= MT41K256M16HA125E_IOCTRL_VALUE,
-};
-
-static const struct ddr_data ddr3_data = {
-	.datardsratio0 = MT41K256M16HA125E_RD_DQS,
-	.datawdsratio0 = MT41K256M16HA125E_WR_DQS,
-	.datafwsratio0 = MT41K256M16HA125E_PHY_FIFO_WE,
-	.datawrsratio0 = MT41K256M16HA125E_PHY_WR_DATA,
-};
-
-static const struct cmd_control ddr3_cmd_ctrl_data = {
-	.cmd0csratio = MT41K256M16HA125E_RATIO,
-	.cmd0iclkout = MT41K256M16HA125E_INVERT_CLKOUT,
-
-	.cmd1csratio = MT41K256M16HA125E_RATIO,
-	.cmd1iclkout = MT41K256M16HA125E_INVERT_CLKOUT,
-
-	.cmd2csratio = MT41K256M16HA125E_RATIO,
-	.cmd2iclkout = MT41K256M16HA125E_INVERT_CLKOUT,
-};
-
-static struct emif_regs ddr3_emif_reg_data = {
-	.sdram_config = MT41K256M16HA125E_EMIF_SDCFG,
-	.ref_ctrl = MT41K256M16HA125E_EMIF_SDREF,
-	.sdram_tim1 = MT41K256M16HA125E_EMIF_TIM1,
-	.sdram_tim2 = MT41K256M16HA125E_EMIF_TIM2,
-	.sdram_tim3 = MT41K256M16HA125E_EMIF_TIM3,
-	.zq_config = MT41K256M16HA125E_ZQ_CFG,
-	.emif_ddr_phy_ctlr_1 = MT41K256M16HA125E_EMIF_READ_LATENCY |
-				PHY_EN_DYN_PWRDN,
-};
-
-void sdram_init(void)
-{
-	config_ddr(DDR_CLK_MHZ, &ioregs, &ddr3_data,
-		   &ddr3_cmd_ctrl_data, &ddr3_emif_reg_data, 0);
-}
-#endif
-
-void set_uart_mux_conf(void)
-{
-	enable_uart0_pin_mux();
-}
-
-void set_mux_conf_regs(void)
-{
-	/* Initalize the board header */
-	enable_i2c0_pin_mux();
-	i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
-
-	enable_board_pin_mux();
-}
-#endif
-
-/*
- * Basic board specific setup.  Pinmux has been handled already.
- */
-int board_init(void)
-{
-	i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
-
-	gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
-
-	return 0;
-}
-
-#ifdef CONFIG_DRIVER_TI_CPSW
-static void cpsw_control(int enabled)
-{
-	/* VTP can be added here */
-
-	return;
-}
-
-static struct cpsw_slave_data cpsw_slaves[] = {
-	{
-		.slave_reg_ofs	= 0x208,
-		.sliver_reg_ofs	= 0xd80,
-		.phy_addr	= 0,
-		.phy_if		= PHY_INTERFACE_MODE_RGMII,
-	},
-	{
-		.slave_reg_ofs	= 0x308,
-		.sliver_reg_ofs	= 0xdc0,
-		.phy_addr	= 1,
-		.phy_if		= PHY_INTERFACE_MODE_RGMII,
-	},
-};
-
-static struct cpsw_platform_data cpsw_data = {
-	.mdio_base		= CPSW_MDIO_BASE,
-	.cpsw_base		= CPSW_BASE,
-	.mdio_div		= 0xff,
-	.channels		= 8,
-	.cpdma_reg_ofs		= 0x800,
-	.slaves			= 1,
-	.slave_data		= cpsw_slaves,
-	.ale_reg_ofs		= 0xd00,
-	.ale_entries		= 1024,
-	.host_port_reg_ofs	= 0x108,
-	.hw_stats_reg_ofs	= 0x900,
-	.bd_ram_ofs		= 0x2000,
-	.mac_control		= (1 << 5),
-	.control		= cpsw_control,
-	.host_port_num		= 0,
-	.version		= CPSW_CTRL_VERSION_2,
-};
-#endif
-
-#if defined(CONFIG_DRIVER_TI_CPSW) || \
-	(defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET))
-int board_eth_init(bd_t *bis)
-{
-	int rv, n = 0;
-#ifdef CONFIG_DRIVER_TI_CPSW
-	uint8_t mac_addr[6];
-	uint32_t mac_hi, mac_lo;
-
-	if (!eth_env_get_enetaddr("ethaddr", mac_addr)) {
-		printf("<ethaddr> not set. Reading from E-fuse\n");
-		/* try reading mac address from efuse */
-		mac_lo = readl(&cdev->macid0l);
-		mac_hi = readl(&cdev->macid0h);
-		mac_addr[0] = mac_hi & 0xFF;
-		mac_addr[1] = (mac_hi & 0xFF00) >> 8;
-		mac_addr[2] = (mac_hi & 0xFF0000) >> 16;
-		mac_addr[3] = (mac_hi & 0xFF000000) >> 24;
-		mac_addr[4] = mac_lo & 0xFF;
-		mac_addr[5] = (mac_lo & 0xFF00) >> 8;
-
-		if (is_valid_ethaddr(mac_addr))
-			eth_env_set_enetaddr("ethaddr", mac_addr);
-		else
-			goto try_usbether;
-	}
-
-	writel(RMII_RGMII2_MODE_ENABLE, &cdev->miisel);
-
-	rv = cpsw_register(&cpsw_data);
-	if (rv < 0)
-		printf("Error %d registering CPSW switch\n", rv);
-	else
-		n += rv;
-try_usbether:
-#endif
-
-#if defined(CONFIG_USB_ETHER) && !defined(CONFIG_SPL_BUILD)
-	rv = usb_eth_initialize(bis);
-	if (rv < 0)
-		printf("Error %d registering USB_ETHER\n", rv);
-	else
-		n += rv;
-#endif
-	return n;
-}
-#endif
board/phytec/pcm051/board.h deleted +0 -24
deleted file mode 100644
index 3366e51c85..0000000000
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * board.h
- *
- * Phytec phyCORE-AM335x (pcm051) boards information header
- *
- * Copyright (C) 2013, Lemonage Software GmbH
- * Author Lars Poeschel <[email protected]>
- */
-
-#ifndef _BOARD_H_
-#define _BOARD_H_
-
-/*
- * We have three pin mux functions that must exist.  We must be able to enable
- * uart0, for initial output and i2c0 to read the main EEPROM.  We then have a
- * main pinmux function that can be overridden to enable all other pinmux that
- * is required on the board.
- */
-void enable_uart0_pin_mux(void);
-void enable_i2c0_pin_mux(void);
-void enable_board_pin_mux(void);
-void enable_cbmux_pin_mux(void);
-#endif
board/phytec/pcm051/mux.c deleted +0 -127
deleted file mode 100644
index 9bca8eae9f..0000000000
@@ -1,127 +0,0 @@
-/*
- * mux.c
- *
- * Copyright (C) 2013 Lemonage Software GmbH
- * Author Lars Poeschel <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <common.h>
-#include <asm/arch/sys_proto.h>
-#include <asm/arch/hardware.h>
-#include <asm/arch/mux.h>
-#include <asm/io.h>
-#include "board.h"
-
-static struct module_pin_mux uart0_pin_mux[] = {
-	{OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* UART0_RXD */
-	{OFFSET(uart0_txd), (MODE(0) | PULLUDEN)},		/* UART0_TXD */
-	{-1},
-};
-
-#ifdef CONFIG_MMC
-static struct module_pin_mux mmc0_pin_mux[] = {
-	{OFFSET(mmc0_dat3), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT3 */
-	{OFFSET(mmc0_dat2), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT2 */
-	{OFFSET(mmc0_dat1), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT1 */
-	{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT0 */
-	{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CLK */
-	{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CMD */
-	{OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)},	/* MMC0_CD */
-	{-1},
-};
-#endif
-
-#ifdef CONFIG_I2C
-static struct module_pin_mux i2c0_pin_mux[] = {
-	{OFFSET(i2c0_sda), (MODE(0) | RXACTIVE |
-			PULLUDEN | SLEWCTRL)}, /* I2C_DATA */
-	{OFFSET(i2c0_scl), (MODE(0) | RXACTIVE |
-			PULLUDEN | SLEWCTRL)}, /* I2C_SCLK */
-	{-1},
-};
-#endif
-
-#ifdef CONFIG_SPI
-static struct module_pin_mux spi0_pin_mux[] = {
-	{OFFSET(spi0_sclk), (MODE(0) | RXACTIVE | PULLUDEN)},	/* SPI0_SCLK */
-	{OFFSET(spi0_d0), (MODE(0) | RXACTIVE |
-			PULLUDEN | PULLUP_EN)},			/* SPI0_D0 */
-	{OFFSET(spi0_d1), (MODE(0) | RXACTIVE | PULLUDEN)},	/* SPI0_D1 */
-	{OFFSET(spi0_cs0), (MODE(0) | RXACTIVE |
-			PULLUDEN | PULLUP_EN)},			/* SPI0_CS0 */
-	{-1},
-};
-#endif
-
-static struct module_pin_mux rmii1_pin_mux[] = {
-	{OFFSET(mii1_crs), MODE(1) | RXACTIVE},     /* RMII1_CRS */
-	{OFFSET(mii1_rxerr), MODE(1) | RXACTIVE},   /* RMII1_RXERR */
-	{OFFSET(mii1_txen), MODE(1)},               /* RMII1_TXEN */
-	{OFFSET(mii1_txd1), MODE(1)},               /* RMII1_TXD1 */
-	{OFFSET(mii1_txd0), MODE(1)},               /* RMII1_TXD0 */
-	{OFFSET(mii1_rxd1), MODE(1) | RXACTIVE},    /* RMII1_RXD1 */
-	{OFFSET(mii1_rxd0), MODE(1) | RXACTIVE},    /* RMII1_RXD0 */
-	{OFFSET(mdio_data), MODE(0) | RXACTIVE | PULLUP_EN}, /* MDIO_DATA */
-	{OFFSET(mdio_clk), MODE(0) | PULLUP_EN},    /* MDIO_CLK */
-	{OFFSET(rmii1_refclk), MODE(0) | RXACTIVE}, /* RMII1_REFCLK */
-	{-1},
-};
-
-static struct module_pin_mux cbmux_pin_mux[] = {
-	{OFFSET(uart0_ctsn), MODE(7) | RXACTIVE | PULLDOWN_EN}, /* JP3 */
-	{OFFSET(uart0_rtsn), MODE(7) | RXACTIVE | PULLUP_EN},	/* JP4 */
-	{-1},
-};
-
-#ifdef CONFIG_MTD_RAW_NAND
-static struct module_pin_mux nand_pin_mux[] = {
-	{OFFSET(gpmc_ad0), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD0 */
-	{OFFSET(gpmc_ad1), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD1 */
-	{OFFSET(gpmc_ad2), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD2 */
-	{OFFSET(gpmc_ad3), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD3 */
-	{OFFSET(gpmc_ad4), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD4 */
-	{OFFSET(gpmc_ad5), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD5 */
-	{OFFSET(gpmc_ad6), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD6 */
-	{OFFSET(gpmc_ad7), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* NAND AD7 */
-	{OFFSET(gpmc_wait0), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* NAND WAIT */
-	{OFFSET(gpmc_wpn), (MODE(7) | PULLUP_EN | RXACTIVE)},	/* NAND_WPN */
-	{OFFSET(gpmc_csn0), (MODE(0) | PULLUDEN)},	/* NAND_CS0 */
-	{OFFSET(gpmc_advn_ale), (MODE(0) | PULLUDEN)}, /* NAND_ADV_ALE */
-	{OFFSET(gpmc_oen_ren), (MODE(0) | PULLUDEN)},	/* NAND_OE */
-	{OFFSET(gpmc_wen), (MODE(0) | PULLUDEN)},	/* NAND_WEN */
-	{OFFSET(gpmc_be0n_cle), (MODE(0) | PULLUDEN)},	/* NAND_BE_CLE */
-	{-1},
-};
-#endif
-
-void enable_uart0_pin_mux(void)
-{
-	configure_module_pin_mux(uart0_pin_mux);
-}
-
-void enable_i2c0_pin_mux(void)
-{
-	configure_module_pin_mux(i2c0_pin_mux);
-}
-
-void enable_board_pin_mux()
-{
-	configure_module_pin_mux(rmii1_pin_mux);
-	configure_module_pin_mux(mmc0_pin_mux);
-	configure_module_pin_mux(cbmux_pin_mux);
-#ifdef CONFIG_MTD_RAW_NAND
-	configure_module_pin_mux(nand_pin_mux);
-#endif
-#ifdef CONFIG_SPI
-	configure_module_pin_mux(spi0_pin_mux);
-#endif
-}
configs/pcm051_rev1_defconfig deleted +0 -60
deleted file mode 100644
index ea7a0769f2..0000000000
@@ -1,60 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_CPU_INIT=y
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_SPL_GPIO_SUPPORT=y
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_AM33XX=y
-CONFIG_TARGET_PCM051=y
-CONFIG_SPL_MMC_SUPPORT=y
-CONFIG_SPL_SERIAL_SUPPORT=y
-CONFIG_SPL=y
-CONFIG_SPL_FS_FAT=y
-CONFIG_SPL_LIBDISK_SUPPORT=y
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_SYS_EXTRA_OPTIONS="REV1"
-# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_VERSION_VARIABLE=y
-CONFIG_ARCH_MISC_INIT=y
-CONFIG_SPL_ENV_SUPPORT=y
-CONFIG_SPL_ETH_SUPPORT=y
-CONFIG_SPL_FS_EXT4=y
-CONFIG_SPL_I2C_SUPPORT=y
-# CONFIG_SPL_NAND_SUPPORT is not set
-CONFIG_SPL_NET_SUPPORT=y
-CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
-CONFIG_SPL_OS_BOOT=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_YMODEM_SUPPORT=y
-CONFIG_CMD_SPL=y
-CONFIG_CMD_ASKENV=y
-CONFIG_CMD_EEPROM=y
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_SF=y
-CONFIG_CMD_SPI=y
-CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_SPI_FLASH=y
-CONFIG_SF_DEFAULT_SPEED=24000000
-CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_PHY_SMSC=y
-CONFIG_MII=y
-CONFIG_DRIVER_TI_CPSW=y
-CONFIG_SPI=y
-CONFIG_OMAP3_SPI=y
-CONFIG_USB=y
-CONFIG_USB_MUSB_HOST=y
-CONFIG_USB_MUSB_GADGET=y
-CONFIG_USB_MUSB_DSPS=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_ETHER=y
-CONFIG_FAT_WRITE=y
-CONFIG_OF_LIBFDT=y
configs/pcm051_rev3_defconfig deleted +0 -60
deleted file mode 100644
index 43e64630ab..0000000000
@@ -1,60 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_CPU_INIT=y
-CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_SPL_GPIO_SUPPORT=y
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_AM33XX=y
-CONFIG_TARGET_PCM051=y
-CONFIG_SPL_MMC_SUPPORT=y
-CONFIG_SPL_SERIAL_SUPPORT=y
-CONFIG_SPL=y
-CONFIG_SPL_FS_FAT=y
-CONFIG_SPL_LIBDISK_SUPPORT=y
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_SYS_EXTRA_OPTIONS="REV3"
-# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_VERSION_VARIABLE=y
-CONFIG_ARCH_MISC_INIT=y
-CONFIG_SPL_ENV_SUPPORT=y
-CONFIG_SPL_ETH_SUPPORT=y
-CONFIG_SPL_FS_EXT4=y
-CONFIG_SPL_I2C_SUPPORT=y
-# CONFIG_SPL_NAND_SUPPORT is not set
-CONFIG_SPL_NET_SUPPORT=y
-CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
-CONFIG_SPL_OS_BOOT=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_YMODEM_SUPPORT=y
-CONFIG_CMD_SPL=y
-CONFIG_CMD_ASKENV=y
-CONFIG_CMD_EEPROM=y
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_SF=y
-CONFIG_CMD_SPI=y
-CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
-CONFIG_MMC_OMAP_HS=y
-CONFIG_SPI_FLASH=y
-CONFIG_SF_DEFAULT_SPEED=24000000
-CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_PHY_SMSC=y
-CONFIG_MII=y
-CONFIG_DRIVER_TI_CPSW=y
-CONFIG_SPI=y
-CONFIG_OMAP3_SPI=y
-CONFIG_USB=y
-CONFIG_USB_MUSB_HOST=y
-CONFIG_USB_MUSB_GADGET=y
-CONFIG_USB_MUSB_DSPS=y
-CONFIG_USB_GADGET=y
-CONFIG_USB_ETHER=y
-CONFIG_FAT_WRITE=y
-CONFIG_OF_LIBFDT=y
include/configs/pcm051.h deleted +0 -128
deleted file mode 100644
index 706a8a2a87..0000000000
@@ -1,128 +0,0 @@
-/*
- * pcm051.h
- *
- * Phytec phyCORE-AM335x (pcm051) boards information header
- *
- * Copyright (C) 2013 Lemonage Software GmbH
- * Author Lars Poeschel <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#ifndef __CONFIG_PCM051_H
-#define __CONFIG_PCM051_H
-
-#include <configs/ti_am335x_common.h>
-
-#define CONFIG_MACH_TYPE		MACH_TYPE_PCM051
-
-/* set to negative value for no autoboot */
-#define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
-	"bootcmd_" #devtypel #instance "=" \
-	"setenv mmcdev " #instance"; "\
-	"setenv bootpart " #instance":2 ; "\
-	"run mmcboot\0"
-
-#define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
-	#devtypel #instance " "
-
-#define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
-	"bootcmd_" #devtypel "=" \
-	"run nandboot\0"
-
-#define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
-	#devtypel #instance " "
-
-#define BOOT_TARGET_DEVICES(func) \
-	func(MMC, mmc, 0) \
-	func(LEGACY_MMC, legacy_mmc, 0) \
-	func(MMC, mmc, 1) \
-	func(LEGACY_MMC, legacy_mmc, 1) \
-	func(NAND, nand, 0)
-
-#define CONFIG_BOOTCOMMAND \
-	"run distro_bootcmd"
-
-#include <config_distro_bootcmd.h>
-
-#include <environment/ti/dfu.h>
-#include <environment/ti/mmc.h>
-
-#define CONFIG_EXTRA_ENV_SETTINGS \
-	DEFAULT_LINUX_BOOT_ENV \
-	DEFAULT_MMC_TI_ARGS \
-	"bootfile=uImage\0" \
-	"fdtfile=am335x-wega-rdk.dtb\0" \
-	"console=ttyO0,115200n8\0" \
-	"optargs=\0" \
-	"ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M\0" \
-	"ramrootfstype=ext2\0" \
-	"bootenv=uEnv.txt\0" \
-	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
-	"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
-		"source ${loadaddr}\0" \
-	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
-	"importbootenv=echo Importing environment from mmc ...; " \
-		"env import -t $loadaddr $filesize\0" \
-	"ramargs=setenv bootargs console=${console} " \
-		"${optargs} " \
-		"root=${ramroot} " \
-		"rootfstype=${ramrootfstype}\0" \
-	"loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \
-	"loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}\0" \
-	"loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} ${bootfile}\0" \
-	"mmcboot=echo Booting from mmc ...; " \
-		"run args_mmc; " \
-		"bootm ${loadaddr}\0" \
-	"ramboot=echo Booting from ramdisk ...; " \
-		"run ramargs; " \
-		"bootm ${loadaddr}\0" \
-	BOOTENV
-
-/* Clock Defines */
-#define V_OSCK				25000000  /* Clock output from T2 */
-#define V_SCLK				(V_OSCK)
-
-/*
- * memtest works on 8 MB in DRAM after skipping 32MB from
- * start addr of ram disk
- */
-
-/* NS16550 Configuration */
-#define CONFIG_SYS_NS16550_COM1		0x44e09000	/* Base EVM has UART0 */
-#define CONFIG_SYS_NS16550_COM2		0x48022000	/* UART1 */
-#define CONFIG_SYS_NS16550_COM3		0x48024000	/* UART2 */
-#define CONFIG_SYS_NS16550_COM4		0x481a6000	/* UART3 */
-#define CONFIG_SYS_NS16550_COM5		0x481a8000	/* UART4 */
-#define CONFIG_SYS_NS16550_COM6		0x481aa000	/* UART5 */
-
-/* I2C Configuration */
-#define CONFIG_ENV_EEPROM_IS_ON_I2C
-#define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* Main EEPROM */
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
-
-#define CONFIG_SYS_BAUDRATE_TABLE	{ 110, 300, 600, 1200, 2400, \
-4800, 9600, 14400, 19200, 28800, 38400, 56000, 57600, 115200 }
-
-/* CPU */
-
-#ifdef CONFIG_SPI_BOOT
-#define CONFIG_SYS_SPI_U_BOOT_SIZE	0x40000
-#endif
-
-/*
- * USB configuration
- */
-#define CONFIG_AM335X_USB0
-#define CONFIG_AM335X_USB0_MODE	MUSB_PERIPHERAL
-#define CONFIG_AM335X_USB1
-#define CONFIG_AM335X_USB1_MODE MUSB_HOST
-
-#endif	/* ! __CONFIG_PCM051_H */
Signature · 1 line
2.25.1
author
#70 lore raw

PATCH v2 20/23 phytec: Drop pcm051

Quoted 8 lines · Lars Poeschel
Quoted 4 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Slite changes on the commit message and

Applied to u-boot-spi/master

author
#71 lore raw

PATCH v2 21/23 silica: Drop pengwyn

In reply to Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lothar Felten <[email protected]>

---
Changes for v2:
- new patch

 arch/arm/Kconfig                   |   1 -
 arch/arm/mach-omap2/am33xx/Kconfig |   7 -
 board/silica/pengwyn/Kconfig       |  15 ---
 board/silica/pengwyn/MAINTAINERS   |   6 -
 board/silica/pengwyn/Makefile      |  11 --
 board/silica/pengwyn/board.c       | 204 -----------------------------
 board/silica/pengwyn/board.h       |  14 --
 board/silica/pengwyn/mux.c         |  97 --------------
 configs/pengwyn_defconfig          |  67 ----------
 include/configs/pengwyn.h          | 166 -----------------------
 10 files changed, 588 deletions(-)
 delete mode 100644 board/silica/pengwyn/Kconfig
 delete mode 100644 board/silica/pengwyn/MAINTAINERS
 delete mode 100644 board/silica/pengwyn/Makefile
 delete mode 100644 board/silica/pengwyn/board.c
 delete mode 100644 board/silica/pengwyn/board.h
 delete mode 100644 board/silica/pengwyn/mux.c
 delete mode 100644 configs/pengwyn_defconfig
 delete mode 100644 include/configs/pengwyn.h
arch/arm/Kconfig +0 -1
index 7f328e6afe..2f431b60af 100644
@@ -1904,7 +1904,6 @@ source "board/hisilicon/hikey/Kconfig"
 source "board/hisilicon/hikey960/Kconfig"
 source "board/hisilicon/poplar/Kconfig"
 source "board/isee/igep003x/Kconfig"
-source "board/silica/pengwyn/Kconfig"
 source "board/spear/spear300/Kconfig"
 source "board/spear/spear310/Kconfig"
 source "board/spear/spear320/Kconfig"
arch/arm/mach-omap2/am33xx/Kconfig +0 -7
index 60e5ec5684..9e0d700280 100644
@@ -146,13 +146,6 @@ config TARGET_ETAMIN
 	select DM_SERIAL
 	imply CMD_DM
 
-config TARGET_PENGWYN
-	bool "Support pengwyn"
-	select DM
-	select DM_GPIO
-	select DM_SERIAL
-	imply CMD_DM
-
 config TARGET_PHYCORE_AM335X_R2
 	bool "Support phyCORE AM335X R2"
 	select DM
board/silica/pengwyn/Kconfig deleted +0 -15
deleted file mode 100644
index f2e1098f62..0000000000
@@ -1,15 +0,0 @@
-if TARGET_PENGWYN
-
-config SYS_BOARD
-	default "pengwyn"
-
-config SYS_VENDOR
-	default "silica"
-
-config SYS_SOC
-	default "am33xx"
-
-config SYS_CONFIG_NAME
-	default "pengwyn"
-
-endif
board/silica/pengwyn/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 14ef7750c5..0000000000
@@ -1,6 +0,0 @@
-PENGWYN BOARD
-M:	Lothar Felten <[email protected]>
-S:	Maintained
-F:	board/silica/pengwyn/
-F:	include/configs/pengwyn.h
-F:	configs/pengwyn_defconfig
board/silica/pengwyn/Makefile deleted +0 -11
deleted file mode 100644
index c34b9b1dd8..0000000000
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Makefile
-#
-# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
-
-ifeq ($(CONFIG_SKIP_LOWLEVEL_INIT),)
-obj-y	:= mux.o
-endif
-
-obj-y	+= board.o
board/silica/pengwyn/board.c deleted +0 -204

204 lines not on this page · raw message

board/silica/pengwyn/board.h deleted +0 -14
deleted file mode 100644
index 3d5ce6d393..0000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * board.h
- *
- * Copyright (C) 2013 Lothar Felten <[email protected]>
- */
-
-#ifndef _BOARD_H_
-#define _BOARD_H_
-
-void enable_uart0_pin_mux(void);
-void enable_board_pin_mux(void);
-
-#endif
board/silica/pengwyn/mux.c deleted +0 -97

97 lines not on this page · raw message

configs/pengwyn_defconfig deleted +0 -67

67 lines not on this page · raw message

include/configs/pengwyn.h deleted +0 -166

166 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#72 lore raw

PATCH v2 21/23 silica: Drop pengwyn

Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lothar Felten <[email protected]>

Any comments?

author
#73 lore raw

PATCH v2 21/23 silica: Drop pengwyn

Quoted 11 lines · Jagan Teki
Quoted 7 lines · Jagan Teki

OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board.

Drop it.

Cc Lothar Felten <[email protected]>

Any comments?

Applied to u-boot-spi/master

author
#74 lore raw

PATCH v2 22/23 spi: omap3: Drop nondm code

In reply to Jagan Teki

Now all boards are using this omap3 spi driver in
dm model, so drop the nondm code.

---
Changes for v2:
- none

 drivers/spi/Kconfig     |  14 ++---
 drivers/spi/omap3_spi.c | 136 ----------------------------------------
 2 files changed, 7 insertions(+), 143 deletions(-)
drivers/spi/Kconfig +7 -7
index 09b9cb17d8..8fccfbf20d 100644
@@ -226,6 +226,13 @@ config NXP_FSPI
 	  Enable the NXP FlexSPI (FSPI) driver. This driver can be used to
 	  access the SPI NOR flash on platforms embedding this NXP IP core.
 
+config OMAP3_SPI
+	bool "McSPI driver for OMAP"
+	help
+	  SPI master controller for OMAP24XX and later Multichannel SPI
+	  (McSPI). This driver be used to access SPI chips on platforms
+	  embedding this OMAP3 McSPI IP core.
+
 config PIC32_SPI
 	bool "Microchip PIC32 SPI driver"
 	depends on MACH_PIC32
@@ -429,11 +436,4 @@ config MXC_SPI
 	  Enable the MXC SPI controller driver. This driver can be used
 	  on various i.MX SoCs such as i.MX31/35/51/6/7.
 
-config OMAP3_SPI
-	bool "McSPI driver for OMAP"
-	help
-	  SPI master controller for OMAP24XX and later Multichannel SPI
-	  (McSPI). This driver be used to access SPI chips on platforms
-	  embedding this OMAP3 McSPI IP core.
-
 endif # menu "SPI Support"
drivers/spi/omap3_spi.c +0 -136

157 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#75 lore raw

PATCH v2 23/23 doc: driver-model: Update SPI migration status

In reply to Jagan Teki

ompa3 and fsl_dspi are fully converted into DM_SPI.

Update it.

---
Changes for v2:
- none

 doc/driver-model/migration.rst | 2 --
 1 file changed, 2 deletions(-)
doc/driver-model/migration.rst +0 -2
index 2c0e2c7f06..408643974c 100644
@@ -75,10 +75,8 @@ No dm conversion yet::
 
 Partially converted::
 
-	drivers/spi/fsl_dspi.c
 	drivers/spi/kirkwood_spi.c
 	drivers/spi/mxc_spi.c
-	drivers/spi/omap3_spi.c
 	drivers/spi/sh_qspi.c
 
 * Status: In progress
Signature · 1 line
2.25.1
#76 lore raw

v2 cover spi: dm-conversion (part1)

In reply to Jagan Teki

Hi Jagan,

Quoted 5 lines · Jagan Teki

This series dropped nondm code from omap3, enabled a few boards with DM_SPI, DM_SPI_FLASH and finally dropped boards which didn't have DM, OF_CONTROL.

Quoted 8 lines

Chages for v2:
- included updates on missing boards which used omap3 spi
- added board maintainers

Travis-CI:
https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408

Any inputs?

Good to see this.

Just to mention that there is a tools/rmboard.py script which tries to create commits to remove boards automatically, in case you didn't see it.

Quoted 18 lines

Jagan.

Jagan Teki (23):
configs: igep00x0: Enable DM_SPI
am335x: sl50: Enable DM_SPI
am335x: baltos: Enable DM_SPI
am335x: igep003x: Enable DM_SPI
siemens: draco: Enable DM_SPI, DM_SPI_FLASH
siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH
siemens: rut: Enable DM_SPI, DM_SPI_FLASH
compulab: Drop cm_t54
compulab: Drop cm_t35
overo: Drop omap3 overo
pandora: Drop omap3 pandora
logicpd: Drop omap3 zoom1
quipos: Drop omap3 cairo
gumstix: Drop duovero
ti: Drop panda board

Quoted 9 lines

ti: Drop sdp4430 board
ti: Drop omap5 uevm
birdland: Drop bav335x
gumstix: Drop pepper
phytec: Drop pcm051
silica: Drop pengwyn
spi: omap3: Drop nondm code
doc: driver-model: Update SPI migration status

[..]

Regards,
Simon

author
#77 lore raw

v2 cover spi: dm-conversion (part1)

Hi Simon,

Quoted 16 lines · Simon Glass

Hi Jagan,

Quoted 12 lines · Jagan Teki

This series dropped nondm code from omap3, enabled a few boards with DM_SPI, DM_SPI_FLASH and finally dropped boards which didn't have DM, OF_CONTROL.

Chages for v2:
- included updates on missing boards which used omap3 spi
- added board maintainers

Travis-CI:
https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408

Quoted 7 lines
Quoted 1 line

Any inputs?

Good to see this.

Just to mention that there is a tools/rmboard.py script which tries to create commits to remove boards automatically, in case you didn't see it.

I have seen it after doing all this. Will use it for rest, but it is editing the commit message as DM_MMC, I hope I can rephase it as DM_SPI?

Jagan.

#78 lore raw

v2 cover spi: dm-conversion (part1)

Hi Jagan

Quoted 24 lines · Jagan Teki

Hi Simon,

Quoted 20 lines · Simon Glass

Hi Jagan,

Quoted 5 lines · Jagan Teki

This series dropped nondm code from omap3, enabled a few boards with DM_SPI, DM_SPI_FLASH and finally dropped boards which didn't have DM, OF_CONTROL.

Quoted 8 lines

Chages for v2:
- included updates on missing boards which used omap3 spi
- added board maintainers

Travis-CI:
https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408

Any inputs?

Good to see this.

Quoted 8 lines
Quoted 3 lines

Just to mention that there is a tools/rmboard.py script which tries to create commits to remove boards automatically, in case you didn't see it.

I have seen it after doing all this. Will use it for rest, but it is editing the commit message as DM_MMC, I hope I can rephase it as DM_SPI?

You can certainly change the commit messages.

Regards,
Simon