Home
last modified time | relevance | path

Searched refs:CONFIG_SYS_NAND_PAGE_SIZE (Results 1 – 25 of 64) sorted by relevance

123

/external/u-boot/drivers/mtd/nand/
Dnand_spl_loaders.c9 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()
Dmxc_nand_spl.c52 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()
88 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_init()
140 if (CONFIG_SYS_NAND_PAGE_SIZE > 512) in nfc_nand_page_address()
143 page_count = CONFIG_SYS_NAND_SIZE / CONFIG_SYS_NAND_PAGE_SIZE; in nfc_nand_page_address()
177 for (i = 1; i < CONFIG_SYS_NAND_PAGE_SIZE / 512; i++) { in nfc_nand_data_output()
192 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_check_ecc()
194 int subpages = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_check_ecc()
[all …]
Dnand_spl_simple.c16 #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()
Dam335x_spl_bch.c21 #define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \
42 offs += CONFIG_SYS_NAND_PAGE_SIZE; in nand_command()
/external/u-boot/arch/arm/include/asm/arch-lpc32xx/
Dconfig.h40 #if !defined(CONFIG_SYS_NAND_PAGE_SIZE)
41 #define CONFIG_SYS_NAND_PAGE_SIZE NAND_LARGE_BLOCK_PAGE_SIZE macro
44 #if (CONFIG_SYS_NAND_PAGE_SIZE == NAND_LARGE_BLOCK_PAGE_SIZE)
50 #elif (CONFIG_SYS_NAND_PAGE_SIZE == NAND_SMALL_BLOCK_PAGE_SIZE)
61 CONFIG_SYS_NAND_PAGE_SIZE)
/external/u-boot/include/configs/
Detamin.h17 #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)
Dam335x_igep003x.h138 CONFIG_SYS_NAND_PAGE_SIZE)
139 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Dpengwyn.h116 CONFIG_SYS_NAND_PAGE_SIZE)
117 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
Dchiliboard.h128 CONFIG_SYS_NAND_PAGE_SIZE)
129 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Dcm_t335.h101 CONFIG_SYS_NAND_PAGE_SIZE)
102 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Dti816x_evm.h71 CONFIG_SYS_NAND_PAGE_SIZE)
72 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Dcm_t43.h29 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
37 CONFIG_SYS_NAND_PAGE_SIZE)
Dbaltos.h235 CONFIG_SYS_NAND_PAGE_SIZE)
236 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Dcorvus.h128 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
131 CONFIG_SYS_NAND_PAGE_SIZE)
Dbrppt1.h184 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
186 CONFIG_SYS_NAND_PAGE_SIZE)
Ddra7xx_evm.h126 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
130 CONFIG_SYS_NAND_PAGE_SIZE)
Dbav335x.h349 CONFIG_SYS_NAND_PAGE_SIZE)
350 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Dam43xx_evm.h228 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
232 CONFIG_SYS_NAND_PAGE_SIZE)
Dtaurus.h171 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
174 CONFIG_SYS_NAND_PAGE_SIZE)
Dsiemens-am33x-common.h112 CONFIG_SYS_NAND_PAGE_SIZE)
113 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Dsmartweb.h213 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
216 CONFIG_SYS_NAND_PAGE_SIZE)
Dapf27.h173 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
176 CONFIG_SYS_NAND_PAGE_SIZE
Dam335x_evm.h204 CONFIG_SYS_NAND_PAGE_SIZE)
205 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
Domap3_pandora.h50 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
/external/u-boot/tools/
Datmel_pmecc_params.c37 sector_per_page = CONFIG_SYS_NAND_PAGE_SIZE / CONFIG_PMECC_SECTOR_SIZE; in main()

123