/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_spl_loaders.c | 9 page = (offs % CONFIG_SYS_NAND_BLOCK_SIZE) / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image() 10 page_offset = offs % CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image() 25 CONFIG_SYS_NAND_PAGE_SIZE); in nand_spl_load_image() 29 dst += CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image() 51 static u8 scratch_buf[CONFIG_SYS_NAND_PAGE_SIZE]; 79 page = offset / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block() 82 offset = offset % CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block() 89 if (offset || len < CONFIG_SYS_NAND_PAGE_SIZE) { in nand_spl_read_block() 91 read = min(len, CONFIG_SYS_NAND_PAGE_SIZE - offset); in nand_spl_read_block() 96 read = CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block()
|
H A D | mxc_nand_spl.c | 52 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_init() 60 if (CONFIG_SYS_NAND_PAGE_SIZE == 4096) in nfc_nand_init() 62 else if (CONFIG_SYS_NAND_PAGE_SIZE == 2048) in nfc_nand_init() 64 else if (CONFIG_SYS_NAND_PAGE_SIZE == 512) in nfc_nand_init() 140 if (CONFIG_SYS_NAND_PAGE_SIZE > 512) in nfc_nand_page_address() 194 int subpages = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_check_ecc() 219 if (CONFIG_SYS_NAND_PAGE_SIZE > 512) in nfc_nand_read_page() 284 CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image() 289 page = from / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image() 293 while (i < size / CONFIG_SYS_NAND_PAGE_SIZE) { in nand_spl_load_image() [all …]
|
H A D | nand_spl_simple.c | 16 #define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \ 21 #if (CONFIG_SYS_NAND_PAGE_SIZE <= 512) 75 offs += CONFIG_SYS_NAND_PAGE_SIZE; in nand_command()
|
H A D | am335x_spl_bch.c | 21 #define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \ 42 offs += CONFIG_SYS_NAND_PAGE_SIZE; in nand_command()
|
/openbmc/u-boot/arch/arm/include/asm/arch-lpc32xx/ |
H A D | config.h | 38 #if !defined(CONFIG_SYS_NAND_PAGE_SIZE) 39 #define CONFIG_SYS_NAND_PAGE_SIZE NAND_LARGE_BLOCK_PAGE_SIZE macro 42 #if (CONFIG_SYS_NAND_PAGE_SIZE == NAND_LARGE_BLOCK_PAGE_SIZE) 48 #elif (CONFIG_SYS_NAND_PAGE_SIZE == NAND_SMALL_BLOCK_PAGE_SIZE) 59 CONFIG_SYS_NAND_PAGE_SIZE)
|
/openbmc/u-boot/include/configs/ |
H A D | etamin.h | 17 #undef CONFIG_SYS_NAND_PAGE_SIZE 29 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro 31 #define CONFIG_SYS_NAND_BLOCK_SIZE (128 * CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | am335x_igep003x.h | 135 CONFIG_SYS_NAND_PAGE_SIZE) 136 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | pengwyn.h | 115 CONFIG_SYS_NAND_PAGE_SIZE) 116 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
|
H A D | baltos.h | 226 CONFIG_SYS_NAND_PAGE_SIZE) 227 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | cm_t43.h | 29 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro 37 CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | ti816x_evm.h | 68 CONFIG_SYS_NAND_PAGE_SIZE) 69 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | cm_t335.h | 100 CONFIG_SYS_NAND_PAGE_SIZE) 101 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | chiliboard.h | 128 CONFIG_SYS_NAND_PAGE_SIZE) 129 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | dra7xx_evm.h | 117 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro 121 CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | corvus.h | 123 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro 126 CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | brppt1.h | 164 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro 166 CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | bav335x.h | 349 CONFIG_SYS_NAND_PAGE_SIZE) 350 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | taurus.h | 156 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro 159 CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | am43xx_evm.h | 226 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro 230 CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | siemens-am33x-common.h | 107 CONFIG_SYS_NAND_PAGE_SIZE) 108 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | smartweb.h | 200 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro 203 CONFIG_SYS_NAND_PAGE_SIZE)
|
H A D | apf27.h | 172 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro 175 CONFIG_SYS_NAND_PAGE_SIZE
|
H A D | am335x_evm.h | 206 CONFIG_SYS_NAND_PAGE_SIZE) 207 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | omap3_pandora.h | 26 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
|
H A D | sama5d4ek.h | 61 #define CONFIG_SYS_NAND_PAGE_SIZE 0x1000 macro
|