diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2015-06-04 16:42:33 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-12 13:02:05 -0400 |
commit | 1f68451ca0d3a5faca49f44cc24cd3b7420bacb8 (patch) | |
tree | 831abb079747f402e8e05d64adc780030f8fe0a1 /board/ti/dra7xx | |
parent | ee4dc2590f00d0109bcdb282ad86fd3dce567e50 (diff) | |
download | u-boot-imx-1f68451ca0d3a5faca49f44cc24cd3b7420bacb8.zip u-boot-imx-1f68451ca0d3a5faca49f44cc24cd3b7420bacb8.tar.gz u-boot-imx-1f68451ca0d3a5faca49f44cc24cd3b7420bacb8.tar.bz2 |
ARM: DRA7: Make do_set_mux32() generic
do_set_mux32() is redefined in dra7xx and beagle_x15 boards.
IO delay recalibration sequence also needs this.
Making it generic to avoid duplication.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'board/ti/dra7xx')
-rw-r--r-- | board/ti/dra7xx/evm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index d464855..1b05150 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -107,16 +107,6 @@ int board_late_init(void) return 0; } -static void do_set_mux32(u32 base, - struct pad_conf_entry const *array, int size) -{ - int i; - struct pad_conf_entry *pad = (struct pad_conf_entry *)array; - - for (i = 0; i < size; i++, pad++) - writel(pad->val, base + pad->offset); -} - void set_muxconf_regs_essential(void) { do_set_mux32((*ctrl)->control_padconf_core_base, |