Skip to content

Commit

Permalink
ARM: da850evm: Remove legacy OHCI referencs and unify platform
Browse files Browse the repository at this point in the history
OHCI was added with DM_USB support, so there are a few unneeded
items in the header file that can be removed.  This also
unifies da850evm with NOR and NAND booting options so all have
OHCI support.

Signed-off-by: Adam Ford <[email protected]>
[trini: Migrate da850_am18xxevm]
Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
aford173 authored and trini committed Jul 27, 2019
1 parent 02acbb9 commit 7f89cb2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
6 changes: 6 additions & 0 deletions configs/da850_am18xxevm_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,10 @@ CONFIG_SYS_NS16550=y
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_DAVINCI_SPI=y
CONFIG_USB=y
CONFIG_DM_USB=y
# CONFIG_SPL_DM_USB is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y
CONFIG_USB_STORAGE=y
# CONFIG_FAT_WRITE is not set
1 change: 1 addition & 0 deletions configs/da850evm_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ CONFIG_DM_USB=y
# CONFIG_SPL_DM_USB is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y
CONFIG_USB_STORAGE=y
# CONFIG_FAT_WRITE is not set
CONFIG_USE_TINY_PRINTF=y
6 changes: 6 additions & 0 deletions configs/da850evm_direct_nor_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@ CONFIG_SYS_NS16550=y
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_DAVINCI_SPI=y
CONFIG_USB=y
CONFIG_DM_USB=y
# CONFIG_SPL_DM_USB is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y
CONFIG_USB_STORAGE=y
6 changes: 6 additions & 0 deletions configs/da850evm_nand_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,11 @@ CONFIG_SYS_NS16550=y
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_DAVINCI_SPI=y
CONFIG_USB=y
CONFIG_DM_USB=y
# CONFIG_SPL_DM_USB is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y
CONFIG_USB_STORAGE=y
# CONFIG_FAT_WRITE is not set
CONFIG_USE_TINY_PRINTF=y
4 changes: 0 additions & 4 deletions include/configs/da850evm.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,8 @@
#endif

/* USB Configs */
#define CONFIG_SYS_USB_OHCI_CPU_INIT
#define CONFIG_USB_OHCI_NEW
#define CONFIG_USB_STORAGE
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x01E25000
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "da850evm"

#ifndef CONFIG_DIRECT_NOR_BOOT
/* defines for SPL */
Expand Down

0 comments on commit 7f89cb2

Please sign in to comment.