Factor out common functions which almost all northbridges share
into lib/northbridgelib.c. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@534 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
2c48c909e0
commit
583dac1c6a
5 changed files with 125 additions and 114 deletions
26
include/northbridgelib.h
Normal file
26
include/northbridgelib.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* This file is part of the LinuxBIOS project.
|
||||
*
|
||||
* Copyright (C) 2007 Advanced Micro Devices, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <device/device.h>
|
||||
|
||||
void pci_domain_read_resources(struct device *dev);
|
||||
void ram_resource(struct device *dev, unsigned long index,
|
||||
unsigned long basek, unsigned long sizek);
|
||||
unsigned int pci_domain_scan_bus(struct device *dev, unsigned int max);
|
||||
Loading…
Add table
Add a link
Reference in a new issue