]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/sm501.h
karo: tx6: factor out PMIC initialization
[karo-tx-uboot.git] / include / sm501.h
1 /*
2  * (C) Copyright 2002
3  * Stäubli Faverges - <www.staubli.com>
4  * Pierre AUBERT  p.aubert@staubli.com
5  *
6  * (C) Copyright 2005
7  * Martin Krause TQ-Systems GmbH martin.krause@tqs.de
8  *
9  * SPDX-License-Identifier:     GPL-2.0+
10  */
11
12 /*
13  * Basic video support for SMI SM501 "Voyager" graphic controller
14  */
15
16 #ifndef _SM501_H_
17 #define _SM501_H_
18
19 #define PCI_VENDOR_SM           0x126f
20 #define PCI_DEVICE_SM501        0x0501
21
22 typedef struct {
23         unsigned int Index;
24         unsigned int Value;
25 } SMI_REGS;
26
27 /* Board specific functions                                                  */
28 unsigned int board_video_init (void);
29 void board_validate_screen (unsigned int base);
30 const SMI_REGS *board_get_regs (void);
31 int board_get_width (void);
32 int board_get_height (void);
33 unsigned int board_video_get_fb (void);
34
35 #endif /* _SM501_H_ */