MUNICes: fix board Makefile for remote build directory
[oweals/u-boot.git] / board / xilinx / ml300 / ml300.c
index f335fc1ba6dfcaf10263070afd84f504cd5a3c29..58bfac07166ffe6171c1f96882c52ca2f2c1e59a 100644 (file)
@@ -38,9 +38,9 @@
  *
  */
 
+#include <config.h>
 #include <common.h>
 #include <asm/processor.h>
-#include "xparameters.h"
 
 #ifdef CFG_ENV_IS_IN_EEPROM
 extern void convert_env(void);
@@ -55,8 +55,8 @@ board_pre_init(void)
 int
 checkboard(void)
 {
-       uchar tmp[64];          /* long enough for environment variables */
-       uchar *s, *e;
+       char tmp[64];           /* long enough for environment variables */
+       char *s, *e;
        int i = getenv_r("L", tmp, sizeof (tmp));
 
        if (i < 0) {
@@ -108,7 +108,7 @@ ulong
 get_PCI_freq(void)
 {
        ulong val;
-       PPC405_SYS_INFO sys_info;
+       PPC4xx_SYS_INFO sys_info;
 
        get_sys_info(&sys_info);
        val = sys_info.freqPCI;