northbridge: Trivial - drop trailing blank lines at EOF
Change-Id: I9515778e97cc5ae0e366b888da90a651ae5994fe Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6210 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
@ -1440,4 +1440,3 @@ struct chip_operations northbridge_amd_agesa_family10_root_complex_ops = {
|
||||
CHIP_NAME("AMD FAM10 Root Complex")
|
||||
.enable_dev = root_complex_enable_dev,
|
||||
};
|
||||
|
||||
|
@ -37,4 +37,3 @@ AGESA_STATUS BiosReadSpd (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -25,4 +25,3 @@
|
||||
#include "heapManager.h"
|
||||
#include <northbridge/amd/agesa/family15/dimmSpd.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
|
@ -38,4 +38,3 @@
|
||||
#define HC_POSSIBLE_NUM 32
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -73,5 +73,3 @@ static void pci_write_config32_index_wait(device_t dev, u32 index_reg, u32 index
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -80,4 +80,3 @@ static void fill_mem_ctrl(u32 controllers, struct mem_controller *ctrl_a, const
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,4 +168,3 @@ u8 get_sbbusn(u8 sblk)
|
||||
{
|
||||
return node_link_to_bus(0, sblk);
|
||||
}
|
||||
|
||||
|
@ -284,4 +284,3 @@ static void setup_default_resource_map(void)
|
||||
max = ARRAY_SIZE(register_values);
|
||||
setup_resource_map(register_values, max);
|
||||
}
|
||||
|
||||
|
@ -227,4 +227,3 @@ static void setup_io_resource_map(const u32 *register_values, u32 max)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -609,5 +609,3 @@ void amdHtInitialize(AMD_HTBLOCK *pBlock);
|
||||
|
||||
|
||||
#endif /* H3FINIT_H */
|
||||
|
||||
|
||||
|
@ -357,4 +357,3 @@ void getAmdTopolist(u8 ***p);
|
||||
|
||||
|
||||
#endif /* HTTOPO_H */
|
||||
|
||||
|
@ -2219,4 +2219,3 @@ void newNorthBridge(u8 node, cNorthBridge *nb)
|
||||
/* Update the initial limited key to the real one, which may include other matching info */
|
||||
nb->compatibleKey = makeKey(node);
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,3 @@ static void amd_ht_init(struct sys_info *sysinfo)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -307,4 +307,3 @@ void update_ssdtx(void *ssdtx, int i)
|
||||
/* FIXME: need to update the GSI id in the ssdtx too */
|
||||
|
||||
}
|
||||
|
||||
|
@ -1854,4 +1854,3 @@ static int setup_coherent_ht_domain(void)
|
||||
return optimize_link_coherent_ht();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -140,4 +140,3 @@ out:
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
@ -260,4 +260,3 @@ void get_sblk_pci1234(void)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -864,6 +864,3 @@ static int optimize_link_incoherent_ht(struct sys_info *sysinfo)
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
@ -84,4 +84,3 @@ static inline unsigned get_sbbusn(unsigned sblk)
|
||||
{
|
||||
return node_link_to_bus(0, sblk);
|
||||
}
|
||||
|
||||
|
@ -182,4 +182,3 @@ static void setup_mem_resource_map(const unsigned int *register_values, int max)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -203,4 +203,3 @@ static void Get_ChannelPS_Cfg0_D(u8 MAAdimms, u8 Speed, u8 MAAload,
|
||||
p+=11;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -143,5 +143,3 @@ void InterleaveBanks_D(struct MCTStatStruc *pMCTstat,
|
||||
print_tx("InterleaveBanks_D: ErrCode ", pDCTstat->ErrCode);
|
||||
print_t("InterleaveBanks_D: Done\n");
|
||||
}
|
||||
|
||||
|
||||
|
@ -409,5 +409,3 @@ u8 mct_GetStartMaxRdLat_D(struct MCTStatStruc *pMCTstat,
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
|
@ -71,4 +71,3 @@ UPDATE AS NEEDED
|
||||
|
||||
#define MCT_TRNG_KEEPOUT_START 0x00000C00
|
||||
#define MCT_TRNG_KEEPOUT_END 0x00000CFF
|
||||
|
||||
|
@ -144,4 +144,3 @@
|
||||
#define CIMX_NBPCIE_MISC 0xFFFFFFFF
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -32,4 +32,3 @@ struct northbridge_amd_cimx_rd890_config
|
||||
};
|
||||
|
||||
#endif /* _CIMX_RD890_CHIP_H_ */
|
||||
|
||||
|
@ -41,4 +41,3 @@ void nb_Pcie_Early_Init(void);
|
||||
void nb_Pcie_Late_Init(void);
|
||||
|
||||
#endif//_RD890_EARLY_H_
|
||||
|
||||
|
@ -87,5 +87,3 @@ void graphics_init(void)
|
||||
res = vrRead(wClassIndex);
|
||||
printk(BIOS_DEBUG, "VRC_VG value: 0x%04x\n", res);
|
||||
}
|
||||
|
||||
|
||||
|
@ -675,4 +675,3 @@ void northbridge_init_early(void)
|
||||
__asm__ __volatile__("FINIT\n");
|
||||
printk(BIOS_DEBUG, "Exit %s\n", __func__);
|
||||
}
|
||||
|
||||
|
@ -12,4 +12,3 @@ void dump_io_resources(unsigned port);
|
||||
void dump_mem(unsigned start, unsigned end);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -82,4 +82,3 @@
|
||||
#define NERR_GLOBAL 0x44 /* Next global error register, 32 bits */
|
||||
#define DRAM_FERR 0x80 /* DRAM first error register, 8 bits */
|
||||
#define DRAM_NERR 0x82 /* DRAM next error register, 8 bits */
|
||||
|
||||
|
@ -142,4 +142,3 @@ struct chip_operations northbridge_intel_e7505_ops = {
|
||||
CHIP_NAME("Intel E7505 Northbridge")
|
||||
.enable_dev = enable_dev,
|
||||
};
|
||||
|
||||
|
@ -3,4 +3,3 @@ struct northbridge_intel_e7520_config
|
||||
/* Interrupt line connect */
|
||||
unsigned int intrline;
|
||||
};
|
||||
|
||||
|
@ -5,4 +5,3 @@ extern unsigned int e7520_scan_root_bus(device_t root, unsigned int max);
|
||||
|
||||
|
||||
#endif /* NORTHBRIDGE_INTEL_E7520_H */
|
||||
|
||||
|
@ -58,5 +58,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA,
|
||||
};
|
||||
|
||||
|
||||
|
@ -37,5 +37,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA1,
|
||||
};
|
||||
|
||||
|
||||
|
@ -38,5 +38,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PB,
|
||||
};
|
||||
|
||||
|
||||
|
@ -37,5 +37,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PC,
|
||||
};
|
||||
|
||||
|
||||
|
@ -3,4 +3,3 @@ struct northbridge_intel_e7525_config
|
||||
/* Interrupt line connect */
|
||||
unsigned int intrline;
|
||||
};
|
||||
|
||||
|
@ -5,4 +5,3 @@ extern unsigned int e7525_scan_root_bus(device_t root, unsigned int max);
|
||||
|
||||
|
||||
#endif /* NORTHBRIDGE_INTEL_E7525_H */
|
||||
|
||||
|
@ -37,5 +37,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA,
|
||||
};
|
||||
|
||||
|
||||
|
@ -37,5 +37,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA1,
|
||||
};
|
||||
|
||||
|
||||
|
@ -37,5 +37,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PB,
|
||||
};
|
||||
|
||||
|
||||
|
@ -37,5 +37,3 @@ static const struct pci_driver pci_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PC,
|
||||
};
|
||||
|
||||
|
||||
|
@ -198,5 +198,3 @@ int init_igd_opregion(igd_opregion_t *opregion)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,4 +39,3 @@ struct northbridge_intel_fsp_sandybridge_config {
|
||||
u32 gpu_cpu_backlight; /* CPU Backlight PWM value */
|
||||
u32 gpu_pch_backlight; /* PCH Backlight PWM value */
|
||||
};
|
||||
|
||||
|
@ -165,4 +165,3 @@ typedef struct {
|
||||
} __attribute__((packed)) optionrom_vbt_t;
|
||||
|
||||
#define VBT_SIGNATURE 0x54425624
|
||||
|
||||
|
@ -45,4 +45,3 @@ void gm45_early_init(void)
|
||||
pci_write_config8(d0f0, D0F0_PAM(5), 0x33);
|
||||
pci_write_config8(d0f0, D0F0_PAM(6), 0x33);
|
||||
}
|
||||
|
||||
|
@ -249,4 +249,3 @@ void raminit_rcomp_calibration(const stepping_t stepping) {
|
||||
mchbar += 0x0040;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -197,4 +197,3 @@ void raminit_thermal(const sysinfo_t *sysinfo)
|
||||
tmp = MCHBAR32(0x11d4) & ~0x1f;
|
||||
MCHBAR32(0x11d4) = tmp | 4;
|
||||
}
|
||||
|
||||
|
@ -191,5 +191,3 @@ int init_igd_opregion(igd_opregion_t *opregion)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,4 +165,3 @@ typedef struct {
|
||||
} __attribute__((packed)) optionrom_vbt_t;
|
||||
|
||||
#define VBT_SIGNATURE 0x54425624
|
||||
|
||||
|
@ -137,4 +137,3 @@ static const struct pci_driver haswell_minihd __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.devices = pci_device_ids,
|
||||
};
|
||||
|
||||
|
@ -248,4 +248,3 @@ struct mrc_data_container *find_current_mrc_cache(void)
|
||||
// 0. compare MRC data to last mrc-cache block (exit if same)
|
||||
return find_current_mrc_cache_local(cache_base, cache_size);
|
||||
}
|
||||
|
||||
|
@ -22,4 +22,3 @@ struct northbridge_intel_i3100_config
|
||||
/* Interrupt line connect */
|
||||
u16 intrline;
|
||||
};
|
||||
|
||||
|
@ -86,4 +86,3 @@
|
||||
#define DWTC 0xe0 /* DRAM Write Thermal Throttling Control (0x000..000). */
|
||||
#define DRTC 0xe8 /* DRAM Read Thermal Throttling Control (0x000..000). */
|
||||
#define BUFFC 0xf0 /* Buffer Control Register (0x0000). */
|
||||
|
||||
|
@ -70,4 +70,3 @@
|
||||
#define PAM4 0x5d
|
||||
#define PAM5 0x5e
|
||||
#define PAM6 0x5f
|
||||
|
||||
|
@ -451,4 +451,3 @@ static void sdram_enable(void)
|
||||
|
||||
PRINT_DEBUG("Northbridge following SDRAM init:\n");
|
||||
}
|
||||
|
||||
|
@ -49,4 +49,3 @@
|
||||
#define APBASE 0x10 /* Aperture Base Configuration (0x00000008) */
|
||||
#define APSIZE 0xb4 /* Apterture Size (0x00) */
|
||||
#define ATTBASE 0xb8 /* Aperture Translation Table Base (0x00000000) */
|
||||
|
||||
|
@ -981,4 +981,3 @@ static void sdram_set_spd_registers(void)
|
||||
/* Setup Initial Northbridge Registers */
|
||||
northbridge_set_registers();
|
||||
}
|
||||
|
||||
|
@ -71,5 +71,3 @@ unsigned long acpi_fill_mcfg(unsigned long current)
|
||||
|
||||
return current;
|
||||
}
|
||||
|
||||
|
||||
|
@ -903,4 +903,3 @@ void i945_late_initialization(void)
|
||||
|
||||
i945_setup_root_complex_topology();
|
||||
}
|
||||
|
||||
|
@ -152,4 +152,3 @@ static const struct pci_driver i945_gma_func1_driver __pci_driver = {
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x27a6,
|
||||
};
|
||||
|
||||
|
@ -335,4 +335,3 @@ void receive_enable_adjust(struct sys_info *sysinfo)
|
||||
if (receive_enable_autoconfig(0x80, sysinfo))
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -44,4 +44,3 @@ struct northbridge_intel_nehalem_config {
|
||||
int gpu_link_frequency_270_mhz;
|
||||
int gpu_lvds_num_lanes;
|
||||
};
|
||||
|
||||
|
@ -198,5 +198,3 @@ int init_igd_opregion(igd_opregion_t *opregion)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,4 +39,3 @@ struct northbridge_intel_sandybridge_config {
|
||||
u32 gpu_cpu_backlight; /* CPU Backlight PWM value */
|
||||
u32 gpu_pch_backlight; /* PCH Backlight PWM value */
|
||||
};
|
||||
|
||||
|
@ -170,4 +170,3 @@ struct northbridge_intel_sandybridge_config;
|
||||
|
||||
int i915lightup(const struct northbridge_intel_sandybridge_config *info,
|
||||
u32 physbase, u16 pio, u32 mmio, u32 lfb);
|
||||
|
||||
|
@ -247,4 +247,3 @@ struct mrc_data_container *find_current_mrc_cache(void)
|
||||
// 0. compare MRC data to last mrc-cache block (exit if same)
|
||||
return find_current_mrc_cache_local(cache_base, cache_size);
|
||||
}
|
||||
|
||||
|
@ -42,5 +42,3 @@
|
||||
#define DDRII_333 0x2
|
||||
#define DDRII_266 0x1
|
||||
#define DDRII_200 0x0
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user