]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bf533-ezkit/flash.c
Consolidate bool type
[karo-tx-uboot.git] / board / bf533-ezkit / flash.c
index ab808d86b0c3c1a5a4222af40845fc533bc11e92..e4fcd1e39d2e6c455a4ca33804c693fcc5441f22 100644 (file)
@@ -309,7 +309,7 @@ int read_flash(long nOffset, int *pnValue)
        nValue = *(volatile unsigned short *)addr;
        SSYNC();
        *pnValue = nValue;
-       return TRUE;
+       return true;
 }
 
 int poll_toggle_bit(long lOffset)
@@ -398,7 +398,7 @@ int erase_block_flash(int nBlock, unsigned long address)
        long ulSectorOff = 0x0;
 
        if ((nBlock < 0) || (nBlock > AFP_NumSectors))
-               return FALSE;
+               return false;
 
        ulSectorOff = (address - CONFIG_SYS_FLASH_BASE);