view rvinterf/tmsh/misc.c @ 857:2768b4339275

a flash chip init/reset function added to Application_Initialize(), see the comments in gsm-fw/bsp/flashchipinit.S
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 01 May 2015 16:27:59 +0000
parents c146f38d2b5f
children
line wrap: on
line source

/*
 * Commands which don't belong anywhere else
 */

#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include "pktmux.h"
#include "etm.h"
#include "tmffs1.h"

void
cmd_check_ffs1(argc, argv)
	char **argv;
{
	u_char cmdpkt[5];

	cmdpkt[1] = ETM_FFS1;
	cmdpkt[2] = FPI_TMFFS_VERSION;
	cmdpkt[3] = FPI_END;
	send_etm_cmd(cmdpkt, 3);
}