diff options
Diffstat (limited to 'include/system-constants.h')
-rw-r--r-- | include/system-constants.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/system-constants.h b/include/system-constants.h index 5937156..d688629 100644 --- a/include/system-constants.h +++ b/include/system-constants.h @@ -41,4 +41,8 @@ #define SPL_PAYLOAD_ARGS_ADDR 0 #endif +/* Number of pages per block */ +#define SYS_NAND_BLOCK_PAGES \ + (CONFIG_SYS_NAND_BLOCK_SIZE / CONFIG_SYS_NAND_PAGE_SIZE) + #endif |