diff options
Diffstat (limited to 'Omap35xxPkg/Flash')
-rw-r--r-- | Omap35xxPkg/Flash/Flash.c | 2 | ||||
-rw-r--r-- | Omap35xxPkg/Flash/Flash.h | 4 | ||||
-rw-r--r-- | Omap35xxPkg/Flash/Flash.inf | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Omap35xxPkg/Flash/Flash.c b/Omap35xxPkg/Flash/Flash.c index c8c34c9a41..1bd781ded0 100644 --- a/Omap35xxPkg/Flash/Flash.c +++ b/Omap35xxPkg/Flash/Flash.c @@ -271,7 +271,7 @@ NandCalculateEcc ( for (Index = 0; Index < gNum512BytesChunks; Index++) { - EccResult = MmioRead32(EccResultRegister); + EccResult = MmioRead32 (EccResultRegister); //Calculate ECC code from 32-bit ECC result value. //NOTE: Following calculation is not part of TRM. We got this information diff --git a/Omap35xxPkg/Flash/Flash.h b/Omap35xxPkg/Flash/Flash.h index 2e95b96bb9..a1a4349ebd 100644 --- a/Omap35xxPkg/Flash/Flash.h +++ b/Omap35xxPkg/Flash/Flash.h @@ -74,10 +74,10 @@ //Nand status register bit definition #define NAND_SUCCESS (0x0UL << 0) -#define NAND_FAILURE (0x1UL << 0) +#define NAND_FAILURE BIT0 #define NAND_BUSY (0x0UL << 6) -#define NAND_READY (0x1UL << 6) +#define NAND_READY BIT6 #define NAND_RESET_STATUS (0x60UL << 0) diff --git a/Omap35xxPkg/Flash/Flash.inf b/Omap35xxPkg/Flash/Flash.inf index 31732994c2..113f5c28cd 100644 --- a/Omap35xxPkg/Flash/Flash.inf +++ b/Omap35xxPkg/Flash/Flash.inf @@ -42,7 +42,7 @@ gEfiCpuArchProtocolGuid [Pcd] - gOmap35xxTokenSpaceGuid.PcdBeagleGpmcOffset + gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset [depex] TRUE
\ No newline at end of file |