summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/octeon/cvmx-sysinfo.h
diff options
context:
space:
mode:
authorDavid Daney2016-02-02 02:46:53 +0100
committerRalf Baechle2016-05-13 14:01:39 +0200
commit58546e3b735cc9f695bba1559be76a68b072761f (patch)
treeec7eabdb5b27c3586cceae5f8bc565e269c0158f /arch/mips/include/asm/octeon/cvmx-sysinfo.h
parentMIPS: Add CPU identifiers and probing for Cavium CN73xx and CNF75xx processors. (diff)
downloadkernel-qcow2-linux-58546e3b735cc9f695bba1559be76a68b072761f.tar.gz
kernel-qcow2-linux-58546e3b735cc9f695bba1559be76a68b072761f.tar.xz
kernel-qcow2-linux-58546e3b735cc9f695bba1559be76a68b072761f.zip
MIPS: OCTEON: Remove dead code from cvmx-sysinfo.
Get rid of the long unused code. Signed-off-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/12318/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/octeon/cvmx-sysinfo.h')
-rw-r--r--arch/mips/include/asm/octeon/cvmx-sysinfo.h30
1 files changed, 1 insertions, 29 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx-sysinfo.h b/arch/mips/include/asm/octeon/cvmx-sysinfo.h
index 2131197422e5..78cd64ad79c7 100644
--- a/arch/mips/include/asm/octeon/cvmx-sysinfo.h
+++ b/arch/mips/include/asm/octeon/cvmx-sysinfo.h
@@ -4,7 +4,7 @@
* Contact: support@caviumnetworks.com
* This file is part of the OCTEON SDK
*
- * Copyright (c) 2003-2008 Cavium Networks
+ * Copyright (c) 2003-2016 Cavium, Inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, Version 2, as
@@ -121,32 +121,4 @@ struct cvmx_sysinfo {
extern struct cvmx_sysinfo *cvmx_sysinfo_get(void);
-/**
- * This function is used in non-simple executive environments (such as
- * Linux kernel, u-boot, etc.) to configure the minimal fields that
- * are required to use simple executive files directly.
- *
- * Locking (if required) must be handled outside of this
- * function
- *
- * @phy_mem_desc_ptr: Pointer to global physical memory descriptor
- * (bootmem descriptor) @board_type: Octeon board
- * type enumeration
- *
- * @board_rev_major:
- * Board major revision
- * @board_rev_minor:
- * Board minor revision
- * @cpu_clock_hz:
- * CPU clock freqency in hertz
- *
- * Returns 0: Failure
- * 1: success
- */
-extern int cvmx_sysinfo_minimal_initialize(void *phy_mem_desc_ptr,
- uint16_t board_type,
- uint8_t board_rev_major,
- uint8_t board_rev_minor,
- uint32_t cpu_clock_hz);
-
#endif /* __CVMX_SYSINFO_H__ */