Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A 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()
H A Dmxc_nand_spl.c53 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_init()
61 if (CONFIG_SYS_NAND_PAGE_SIZE == 4096) in nfc_nand_init()
63 else if (CONFIG_SYS_NAND_PAGE_SIZE == 2048) in nfc_nand_init()
65 else if (CONFIG_SYS_NAND_PAGE_SIZE == 512) in nfc_nand_init()
89 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_init()
141 if (CONFIG_SYS_NAND_PAGE_SIZE > 512) in nfc_nand_page_address()
144 page_count = CONFIG_SYS_NAND_SIZE / CONFIG_SYS_NAND_PAGE_SIZE; in nfc_nand_page_address()
178 for (i = 1; i < CONFIG_SYS_NAND_PAGE_SIZE / 512; i++) { in nfc_nand_data_output()
193 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_check_ecc()
195 int subpages = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_check_ecc()
[all …]
H A Dnand_spl_simple.c17 #define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \
22 #if (CONFIG_SYS_NAND_PAGE_SIZE <= 512)
76 offs += CONFIG_SYS_NAND_PAGE_SIZE; in nand_command()
H A Dam335x_spl_bch.c22 #define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \
43 offs += CONFIG_SYS_NAND_PAGE_SIZE; in nand_command()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-lpc32xx/
H A Dconfig.h47 #if !defined(CONFIG_SYS_NAND_PAGE_SIZE)
48 #define CONFIG_SYS_NAND_PAGE_SIZE NAND_LARGE_BLOCK_PAGE_SIZE macro
51 #if (CONFIG_SYS_NAND_PAGE_SIZE == NAND_LARGE_BLOCK_PAGE_SIZE)
57 #elif (CONFIG_SYS_NAND_PAGE_SIZE == NAND_SMALL_BLOCK_PAGE_SIZE)
68 CONFIG_SYS_NAND_PAGE_SIZE)
/OK3568_Linux_fs/u-boot/include/configs/
H A Detamin.h18 #undef CONFIG_SYS_NAND_PAGE_SIZE
30 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
32 #define CONFIG_SYS_NAND_BLOCK_SIZE (128 * CONFIG_SYS_NAND_PAGE_SIZE)
H A Dam335x_igep003x.h138 CONFIG_SYS_NAND_PAGE_SIZE)
139 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dpengwyn.h120 CONFIG_SYS_NAND_PAGE_SIZE)
121 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
H A Dchiliboard.h133 CONFIG_SYS_NAND_PAGE_SIZE)
134 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dcm_t43.h30 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
38 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dti816x_evm.h73 CONFIG_SYS_NAND_PAGE_SIZE)
74 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dcm_t335.h107 CONFIG_SYS_NAND_PAGE_SIZE)
108 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dbaltos.h245 CONFIG_SYS_NAND_PAGE_SIZE)
246 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dcorvus.h135 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
138 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dbrppt1.h187 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
189 CONFIG_SYS_NAND_PAGE_SIZE)
H A Ddra7xx_evm.h160 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
164 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dbav335x.h353 CONFIG_SYS_NAND_PAGE_SIZE)
354 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dam43xx_evm.h252 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
256 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dtaurus.h177 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
180 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dsmartweb.h218 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
221 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dsiemens-am33x-common.h122 CONFIG_SYS_NAND_PAGE_SIZE)
123 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dapf27.h202 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
205 CONFIG_SYS_NAND_PAGE_SIZE
H A Dam335x_evm.h200 CONFIG_SYS_NAND_PAGE_SIZE)
201 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Drk1808_common.h38 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
/OK3568_Linux_fs/u-boot/tools/
H A Datmel_pmecc_params.c38 sector_per_page = CONFIG_SYS_NAND_PAGE_SIZE / CONFIG_PMECC_SECTOR_SIZE; in main()

1234