src/southbridge: Use "foo *bar" instead of "foo* bar"
Change-Id: I72d50615d77b91529810e8f590fa56f3c6f7546c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27409 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
39303d5d49
commit
251279c537
17 changed files with 41 additions and 37 deletions
|
@ -61,7 +61,8 @@ typedef unsigned int AGESA_STATUS;
|
|||
#define AGESA_CRITICAL ((AGESA_STATUS) 0xC0000002)
|
||||
#define AGESA_FATAL ((AGESA_STATUS) 0xC0000003)
|
||||
|
||||
typedef AGESA_STATUS (*CALLOUT_ENTRY) (unsigned int Param1, unsigned int Param2, void* ConfigPtr);
|
||||
typedef AGESA_STATUS(*CALLOUT_ENTRY) (unsigned int Param1, unsigned int Param2,
|
||||
void *ConfigPtr);
|
||||
typedef AGESA_STATUS(*IMAGE_ENTRY) (IN OUT void *ConfigPtr);
|
||||
typedef AGESA_STATUS(*MODULE_ENTRY) (IN OUT void *ConfigPtr);
|
||||
|
||||
|
|
|
@ -61,7 +61,8 @@ typedef unsigned int AGESA_STATUS;
|
|||
#define AGESA_CRITICAL ((AGESA_STATUS) 0xC0000002)
|
||||
#define AGESA_FATAL ((AGESA_STATUS) 0xC0000003)
|
||||
|
||||
typedef AGESA_STATUS (*CALLOUT_ENTRY) (unsigned int Param1, unsigned int Param2, void* ConfigPtr);
|
||||
typedef AGESA_STATUS(*CALLOUT_ENTRY) (unsigned int Param1, unsigned int Param2,
|
||||
void *ConfigPtr);
|
||||
typedef AGESA_STATUS(*IMAGE_ENTRY) (IN OUT void *ConfigPtr);
|
||||
typedef AGESA_STATUS(*MODULE_ENTRY) (IN OUT void *ConfigPtr);
|
||||
|
||||
|
|
|
@ -32,7 +32,8 @@
|
|||
/*
|
||||
* extern function declaration
|
||||
*/
|
||||
struct resource * sr5650_retrieve_cpu_mmio_resource() {
|
||||
struct resource *sr5650_retrieve_cpu_mmio_resource()
|
||||
{
|
||||
struct device *domain;
|
||||
struct resource *res;
|
||||
|
||||
|
@ -336,7 +337,8 @@ void detect_and_enable_iommu(struct device *iommu_dev) {
|
|||
return;
|
||||
}
|
||||
|
||||
mmio_base = (void*)(pci_read_config32(iommu_dev, 0x44) & 0xffffc000);
|
||||
mmio_base = (void *)(pci_read_config32(iommu_dev, 0x44) &
|
||||
0xffffc000);
|
||||
|
||||
// if (get_nb_rev(nb_dev) == REV_SR5650_A11) {
|
||||
// dword = pci_read_config32(iommu_dev, 0x6c);
|
||||
|
|
Loading…
Reference in a new issue