rename CFG_ENV macros to CONFIG_ENV
[platform/kernel/u-boot.git] / board / mpl / pati / pati.c
index 0355b65..0883c42 100644 (file)
@@ -149,7 +149,7 @@ extern void mem_test_reloc(void);
 /*
  * Get RAM size.
  */
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        unsigned char board_rev;
        unsigned long reg;
@@ -484,7 +484,7 @@ int pci_con_getc(void)
        else
                diff=r_ptr-w_ptr;
        if((diff<(REC_BUFFER_SIZE-4)) && buff_full) {
-               /* clear Mail box */
+               /* clear Mail box */
                        buff_full=0;
                        PCICON_SET_REG(PCICON_RECEIVE_REG,0L);
        }
@@ -615,4 +615,4 @@ void pci_con_disc(void)
 /*
  * Absolute environment address for linker file.
  */
-GEN_ABS(env_start, CFG_ENV_OFFSET + CFG_FLASH_BASE);
+GEN_ABS(env_start, CONFIG_ENV_OFFSET + CFG_FLASH_BASE);