Searched refs:flash_ofs (Results 1 - 4 of 4) sorted by relevance

/openwrt/target/linux/adm5120/image/lzma-loader/src/
H A Ddecompress.c176 static unsigned long flash_ofs = 0; variable
182 return *(flash_base+flash_ofs++);
190 if (flash_ofs >= flash_max)
193 len = flash_max-flash_ofs;
196 if (flash_ofs < FLASH_BANK_SIZE) {
200 if (len > FLASH_BANK_SIZE-flash_ofs)
201 len = FLASH_BANK_SIZE-flash_ofs;
207 DBG("lzma_read_byte: ofs=%08X, len=%08X\n", flash_ofs, len);
209 *buffer = flash_base+(flash_ofs & flash_ofs_mask);
211 flash_ofs
[all...]
/openwrt/target/linux/ar71xx/image/lzma-loader/src/
H A Dloader.c176 unsigned long flash_ofs; local
184 for (flash_ofs = CONFIG_FLASH_OFFS;
185 flash_ofs <= (CONFIG_FLASH_OFFS + CONFIG_FLASH_MAX);
186 flash_ofs += CONFIG_FLASH_STEP) {
190 p = flash_base + flash_ofs;
203 printf("found at 0x%08x\n", flash_base + flash_ofs);
209 lzma_data = flash_base + flash_ofs + kernel_ofs;
/openwrt/target/linux/lantiq/image/lzma-loader/src/
H A Dloader.c175 unsigned long flash_ofs; local
183 for (flash_ofs = CONFIG_FLASH_OFFS;
184 flash_ofs <= (CONFIG_FLASH_OFFS + CONFIG_FLASH_MAX);
185 flash_ofs += CONFIG_FLASH_STEP) {
189 p = flash_base + flash_ofs;
202 printf("found at 0x%08x\n", flash_base + flash_ofs);
208 lzma_data = flash_base + flash_ofs + kernel_ofs;
/openwrt/target/linux/ramips/image/lzma-loader/src/
H A Dloader.c175 unsigned long flash_ofs; local
183 for (flash_ofs = CONFIG_FLASH_OFFS;
184 flash_ofs <= (CONFIG_FLASH_OFFS + CONFIG_FLASH_MAX);
185 flash_ofs += CONFIG_FLASH_STEP) {
189 p = flash_base + flash_ofs;
202 printf("found at 0x%08x\n", flash_base + flash_ofs);
208 lzma_data = flash_base + flash_ofs + kernel_ofs;

Completed in 32 milliseconds