Home
last modified time | relevance | path

Searched refs:cword_offset (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/mtd/
H A Dcfi_flash.c227 int cword_offset; in flash_make_cmd() local
236 cword_offset = (info->portwidth - i) % info->chipwidth; in flash_make_cmd()
239 val = *((uchar *)&cmd_le + cword_offset); in flash_make_cmd()
242 val = *((uchar *)&cmd + sizeof(u32) - cword_offset - 1); in flash_make_cmd()
244 cp[cp_offset] = (cword_offset >= sizeof(u32)) ? 0x00 : val; in flash_make_cmd()