Files
OpenCellular/include/flash_commands.h
Randall Spangler bdf7da5b08 Initial sources import 1/3
source files mainly done by Randall.

Signed-off-by: Randall Spangler <rspangler@chromium.org>

Change-Id: Iaff83a842b17f3350fb6f2a3f1597ad4c29bd12a
2011-12-07 19:10:02 +00:00

24 lines
681 B
C

/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Flash memory commands for Chrome EC */
#ifndef __CROS_EC_FLASH_COMMANDS_H
#define __CROS_EC_FLASH_COMMANDS_H
#include "common.h"
#include "lpc_commands.h"
/* Initializes the module. */
int flash_commands_init(void);
/* Host command handlers. */
enum lpc_status flash_command_get_info(uint8_t *data);
enum lpc_status flash_command_read(uint8_t *data);
enum lpc_status flash_command_write(uint8_t *data);
enum lpc_status flash_command_erase(uint8_t *data);
#endif /* __CROS_EC_FLASH_COMMANDS_H */