]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/sm501.h
bootstage: Record the time taken to set up driver model
[people/ms/u-boot.git] / include / sm501.h
CommitLineData
8f0b7cbe
WD
1/*
2 * (C) Copyright 2002
fa82f871 3 * Stäubli Faverges - <www.staubli.com>
8f0b7cbe
WD
4 * Pierre AUBERT p.aubert@staubli.com
5 *
6 * (C) Copyright 2005
7 * Martin Krause TQ-Systems GmbH martin.krause@tqs.de
8 *
1a459660 9 * SPDX-License-Identifier: GPL-2.0+
8f0b7cbe
WD
10 */
11
12/*
13 * Basic video support for SMI SM501 "Voyager" graphic controller
14 */
15
16#ifndef _SM501_H_
17#define _SM501_H_
18
98f4a3df
SR
19#define PCI_VENDOR_SM 0x126f
20#define PCI_DEVICE_SM501 0x0501
21
8f0b7cbe
WD
22typedef struct {
23 unsigned int Index;
24 unsigned int Value;
25} SMI_REGS;
26
27/* Board specific functions */
28unsigned int board_video_init (void);
29void board_validate_screen (unsigned int base);
30const SMI_REGS *board_get_regs (void);
31int board_get_width (void);
32int board_get_height (void);
33unsigned int board_video_get_fb (void);
34
35#endif /* _SM501_H_ */