view target-utils/pirexplore/ffsparam.c @ 437:2cd705c8116e

loadtools: Mot C155 turns out to have the same flash partition quirks as the flash chip on TI's D-Sample c155.config changed to use the fixed 28f640w30b config instead of CFI, and a bit of C code in fc-loadtool had to be changed too so that flash erase-program-boot still works.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 06 Nov 2018 16:02:23 +0000
parents 87cb03b35f77
children
line wrap: on
line source

/*
 * This module is linked into pirexplore for the purpose of telling the
 * somewhat generic libtiffs exactly where the FFS is located on this
 * device and how it is structured.
 */

#include "types.h"

const u32 tiffs_base_addr = 0x02000000;
const u32 tiffs_sector_size = 0x40000;
const int tiffs_nsectors = 18;