]>
git.ipfire.org Git - people/ms/u-boot.git/blob - drivers/pch/pch9.c
2 * Copyright (C) 2014 Google, Inc
4 * SPDX-License-Identifier: GPL-2.0+
11 #define SBASE_ADDR 0x54
13 static int pch9_get_sbase(struct udevice
*dev
, ulong
*sbasep
)
17 dm_pci_read_config32(dev
, SBASE_ADDR
, &sbase_addr
);
18 *sbasep
= sbase_addr
& 0xfffffe00;
23 static const struct pch_ops pch9_ops
= {
24 .get_sbase
= pch9_get_sbase
,
27 static const struct udevice_id pch9_ids
[] = {
28 { .compatible
= "intel,pch9" },
32 U_BOOT_DRIVER(pch9_drv
) = {