Browse Source

plat: marvell: mci: use more meaningful name for mci link tuning

The mci_initialize function name was misleading. The function itself
doesn't initialize MCI in general but performs MCI link tuning for
performance improvement.

Change-Id: I13094ad2235182a14984035bbe58013ebde84a7e
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
pull/1979/head
Grzegorz Jaszczyk 6 years ago
committed by Marcin Wojtas
parent
commit
93574e7e6d
  1. 2
      drivers/marvell/mci.c
  2. 2
      include/drivers/marvell/mci.h
  3. 2
      plat/marvell/armada/a8k/common/plat_bl31_setup.c

2
drivers/marvell/mci.c

@ -819,7 +819,7 @@ void mci_turn_link_on(void)
} }
/* Initialize MCI for performance improvements */ /* Initialize MCI for performance improvements */
int mci_initialize(int mci_index) int mci_link_tune(int mci_index)
{ {
int ret; int ret;

2
include/drivers/marvell/mci.h

@ -10,7 +10,7 @@
#ifndef MCI_H #ifndef MCI_H
#define MCI_H #define MCI_H
int mci_initialize(int mci_index); int mci_link_tune(int mci_index);
void mci_turn_link_down(void); void mci_turn_link_down(void);
void mci_turn_link_on(void); void mci_turn_link_on(void);
int mci_get_link_status(void); int mci_get_link_status(void);

2
plat/marvell/armada/a8k/common/plat_bl31_setup.c

@ -117,7 +117,7 @@ void bl31_plat_arch_setup(void)
for (cp = 0; cp < CP_COUNT; cp++) { for (cp = 0; cp < CP_COUNT; cp++) {
if (cp >= 1) { if (cp >= 1) {
mci_initialize(MVEBU_MCI0); mci_link_tune(MVEBU_MCI0);
update_cp110_default_win(cp); update_cp110_default_win(cp);
} }

Loading…
Cancel
Save