Home
last modified time | relevance | path

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

123

/openbmc/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.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()
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 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()
/openbmc/u-boot/arch/arm/include/asm/arch-lpc32xx/
H A Dconfig.h38 #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 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)
H A Dam335x_igep003x.h135 CONFIG_SYS_NAND_PAGE_SIZE)
136 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dpengwyn.h115 CONFIG_SYS_NAND_PAGE_SIZE)
116 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
H A Dbaltos.h226 CONFIG_SYS_NAND_PAGE_SIZE)
227 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dcm_t43.h29 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
37 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dti816x_evm.h68 CONFIG_SYS_NAND_PAGE_SIZE)
69 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dcm_t335.h100 CONFIG_SYS_NAND_PAGE_SIZE)
101 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dchiliboard.h128 CONFIG_SYS_NAND_PAGE_SIZE)
129 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Ddra7xx_evm.h117 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
121 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dcorvus.h123 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
126 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dbrppt1.h164 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
166 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dbav335x.h349 CONFIG_SYS_NAND_PAGE_SIZE)
350 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dtaurus.h156 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
159 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dam43xx_evm.h226 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
230 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dsiemens-am33x-common.h107 CONFIG_SYS_NAND_PAGE_SIZE)
108 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dsmartweb.h200 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro
203 CONFIG_SYS_NAND_PAGE_SIZE)
H A Dapf27.h172 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
175 CONFIG_SYS_NAND_PAGE_SIZE
H A Dam335x_evm.h206 CONFIG_SYS_NAND_PAGE_SIZE)
207 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Domap3_pandora.h26 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
H A Dsama5d4ek.h61 #define CONFIG_SYS_NAND_PAGE_SIZE 0x1000 macro
H A Dsama5d4_xplained.h62 #define CONFIG_SYS_NAND_PAGE_SIZE 0x1000 macro

123