]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: octeontx_hsmmc: Add support for MIPS Octeon
authorStefan Roese <sr@denx.de>
Fri, 12 Mar 2021 08:48:25 +0000 (09:48 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Thu, 22 Apr 2021 00:47:57 +0000 (02:47 +0200)
commitf9bb0baa7596e42d45d556656bbaa3c7d733541b
tree87b5b8ec5a9d65c947016a36c3197421ced87a4a
parentff6d1948dcdccf8a81590a989c05999f6a8a7645
mmc: octeontx_hsmmc: Add support for MIPS Octeon

Until now, the Octeontx MMC driver did only support the ARM Octeon
TX/Tx2 platforms. This patch adds support for the MIPS Octeon platform
to this driver. Here a short summary of the changes:

- Enable driver compilation for MIPS Octeon, including the MMC related
  header file
- Reorder header inclusion
- Switch to using the clk framework to get the input clock
- Remove some functions for MIPS Octeon, as some registers don't
  exist here

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/mach-octeon/include/mach/cvmx-mio-emm-defs.h [new file with mode: 0644]
drivers/mmc/Kconfig
drivers/mmc/octeontx_hsmmc.c