]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/freescale/common/cadmus.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / freescale / common / cadmus.h
CommitLineData
03f5c550
WD
1/*
2 * Copyright 2004 Freescale Semiconductor.
3 *
1a459660 4 * SPDX-License-Identifier: GPL-2.0+
03f5c550
WD
5 */
6
7#ifndef __CADMUS_H_
8#define __CADMUS_H_
9
10
11/*
12 * CADMUS Board System Register interface.
13 */
14
15/*
16 * Returns board version register.
17 */
18extern unsigned int get_board_version(void);
19
20/*
21 * Returns either 33000000 or 66000000 as the SYS_CLK_FREQ.
22 */
23extern unsigned long get_clock_freq(void);
24
25
26/*
27 * Returns 1 - 4, as found in the USER CSR[6:7] bits.
28 */
29extern unsigned int get_pci_slot(void);
30
31
32/*
33 * Returns PCI DUAL as found in CM_PCI[3].
34 */
35extern unsigned int get_pci_dual(void);
36
37
38#endif /* __CADMUS_H_ */