mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-25 00:21:33 +00:00
Fix compilation warnings on a few 85xx boards.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
d22200f020
commit
f5012827df
3 changed files with 5 additions and 3 deletions
|
@ -45,8 +45,6 @@ static void cds_pci_fixup(void *blob)
|
||||||
/* We rotate the interrupt pins so that the mapping
|
/* We rotate the interrupt pins so that the mapping
|
||||||
* changes depending on the slot the carrier card is in.
|
* changes depending on the slot the carrier card is in.
|
||||||
*/
|
*/
|
||||||
int j;
|
|
||||||
|
|
||||||
map[3] = ((map[3] + slot - 2) % 4) + 1;
|
map[3] = ((map[3] + slot - 2) % 4) + 1;
|
||||||
|
|
||||||
map+=7;
|
map+=7;
|
||||||
|
|
|
@ -329,7 +329,7 @@ pci_init_board(void)
|
||||||
|
|
||||||
int last_stage_init(void)
|
int last_stage_init(void)
|
||||||
{
|
{
|
||||||
unsigned int temp;
|
unsigned short temp;
|
||||||
|
|
||||||
/* Change the resistors for the PHY */
|
/* Change the resistors for the PHY */
|
||||||
/* This is needed to get the RGMII working for the 1.3+
|
/* This is needed to get the RGMII working for the 1.3+
|
||||||
|
|
|
@ -33,6 +33,10 @@
|
||||||
#include <spd.h>
|
#include <spd.h>
|
||||||
#include <miiphy.h>
|
#include <miiphy.h>
|
||||||
|
|
||||||
|
#if defined(CONFIG_OF_FLAT_TREE)
|
||||||
|
#include <ft_build.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
|
#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
|
||||||
extern void ddr_enable_ecc(unsigned int dram_size);
|
extern void ddr_enable_ecc(unsigned int dram_size);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue