mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-16 07:27:09 -04:00
powerpc/mpc8548cds: Cleanup mpc8548cds.c
Remove unnecessary or dead code/includes. Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
fbb9ecf749
commit
44d737111b
@ -30,7 +30,6 @@
|
|||||||
#include <asm/fsl_pci.h>
|
#include <asm/fsl_pci.h>
|
||||||
#include <asm/fsl_ddr_sdram.h>
|
#include <asm/fsl_ddr_sdram.h>
|
||||||
#include <asm/fsl_serdes.h>
|
#include <asm/fsl_serdes.h>
|
||||||
#include <spd_sdram.h>
|
|
||||||
#include <miiphy.h>
|
#include <miiphy.h>
|
||||||
#include <libfdt.h>
|
#include <libfdt.h>
|
||||||
#include <fdt_support.h>
|
#include <fdt_support.h>
|
||||||
@ -39,8 +38,6 @@
|
|||||||
#include "../common/eeprom.h"
|
#include "../common/eeprom.h"
|
||||||
#include "../common/via.h"
|
#include "../common/via.h"
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
|
||||||
|
|
||||||
void local_bus_init(void);
|
void local_bus_init(void);
|
||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
@ -210,10 +207,6 @@ static struct pci_config_table pci_mpc85xxcds_config_table[] = {
|
|||||||
static struct pci_controller pci1_hose;
|
static struct pci_controller pci1_hose;
|
||||||
#endif /* CONFIG_PCI */
|
#endif /* CONFIG_PCI */
|
||||||
|
|
||||||
#ifdef CONFIG_PCI2
|
|
||||||
static struct pci_controller pci2_hose;
|
|
||||||
#endif /* CONFIG_PCI2 */
|
|
||||||
|
|
||||||
void pci_init_board(void)
|
void pci_init_board(void)
|
||||||
{
|
{
|
||||||
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
|
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user