view src/cs/drivers/drv_app/ffs/board/ffspcm.h @ 281:a75eefbf8be4

Phone boot with PWON: weed out short button presses Every standard end user phone has a design provision, most naturally implemented in firmware, whereby the PWON button effects a boot only if it is held down long enough - short presses of this PWON button are detected, assumed to be spurious and cause the fw to power back off instead of proceeding with boot. The present change introduces this standard function in FreeCalypso.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 Sep 2021 02:03:08 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/*
 * Flash File System (ffs)
 *
 * WCP PCM Compatibility Support
 */

#ifndef _FFS_PCM_H
#define _FFS_PCM_H

/**** FFS CONFIG (used for Perseus1) ****/
#define FFS_BASE_ADDRESS    0x00808000
#define IMAGE_SIZE          0x00004000

effs_t          ffs_InitRFCap   (                   );
effs_t          ffs_SetBand     (unsigned char* band);
unsigned char   ffs_GetBand     (                   );
void            ffs_restore     (                   );
void            ffs_backup      (                   );

#endif // _FFS_PCM_H