From d4ca31c40e8888b36635967522ec7ea03fd7e70b Mon Sep 17 00:00:00 2001 From: wdenk Date: Fri, 2 Jan 2004 14:00:00 +0000 Subject: * Cleanup lowboot code for MPC5200 * Minor code cleanup (coding style) * Patch by Reinhard Meyer, 30 Dec 2003: - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE, - added CONFIG_PHY_ADDR to include/configs/IceCube.h, - turned debug print of PHY registers into a function (called in two places) - added support for EMK MPC5200 based modules * Fix MPC8xx PLPRCR_MFD_SHIFT typo * Add support for TQM866M modules * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash) * Fix a few compiler warnings --- include/asm-m68k/ptrace.h | 1 - include/asm-m68k/u-boot.h | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'include/asm-m68k') diff --git a/include/asm-m68k/ptrace.h b/include/asm-m68k/ptrace.h index 343a9f497d1..820551856d8 100644 --- a/include/asm-m68k/ptrace.h +++ b/include/asm-m68k/ptrace.h @@ -105,4 +105,3 @@ struct pt_regs { #define PT_FPSCR (PT_FPR0 + 2*32 + 1) #endif - diff --git a/include/asm-m68k/u-boot.h b/include/asm-m68k/u-boot.h index eaf1de74e69..b4144900e88 100644 --- a/include/asm-m68k/u-boot.h +++ b/include/asm-m68k/u-boot.h @@ -39,9 +39,9 @@ typedef struct bd_info { unsigned long bi_sramstart; /* start of SRAM memory */ unsigned long bi_sramsize; /* size of SRAM memory */ unsigned long bi_bootflags; /* boot / reboot flag (for LynxOS) */ - unsigned long bi_boot_params; /* where this board expects params */ + unsigned long bi_boot_params; /* where this board expects params */ unsigned long bi_ip_addr; /* IP Address */ - unsigned char bi_enetaddr[6]; /* Ethernet adress */ + unsigned char bi_enetaddr[6]; /* Ethernet adress */ unsigned short bi_ethspeed; /* Ethernet speed in Mbps */ unsigned long bi_intfreq; /* Internal Freq, in MHz */ unsigned long bi_busfreq; /* Bus Freq, in MHz */ @@ -56,11 +56,11 @@ typedef struct bd_info { * * Keep it *SMALL* and remember to set CFG_INIT_DATA_SIZE > sizeof(init_data_t) */ -typedef struct init_data { +typedef struct init_data { unsigned long cpu_clk; /* VCOOUT = CPU clock in Hz! */ unsigned long env_addr; /* Address of Environment struct */ unsigned long env_valid; /* Checksum of Environment valid? */ - unsigned long relocated; /* Relocat. offset when running in RAM */ + unsigned long relocated; /* Relocat. offset when running in RAM */ unsigned long have_console; /* serial_init() was called */ #ifdef CONFIG_LCD unsigned long lcd_base; /* Base address of LCD frambuffer mem */ -- cgit v1.2.3