summaryrefslogtreecommitdiff
path: root/Host/libnxt-0.3/flash.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-01-04 09:06:36 +0800
committerTat-Chee Wan (USM)2011-01-04 09:06:36 +0800
commitffbef9f7acbdb30d326b73bc72bf21d12976d1d0 (patch)
treeef590520b4df018938bbe7850a14befdcdfdc1b8 /Host/libnxt-0.3/flash.h
parentc0201887f08821d20a05bce2ec303c773a3f4b4b (diff)
removed libnxt dependency, building requires libusb-legacy on macosx
Diffstat (limited to 'Host/libnxt-0.3/flash.h')
-rw-r--r--Host/libnxt-0.3/flash.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/Host/libnxt-0.3/flash.h b/Host/libnxt-0.3/flash.h
deleted file mode 100644
index 8d157d7..0000000
--- a/Host/libnxt-0.3/flash.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * NXT bootstrap interface; NXT flash chip access code.
- *
- * Copyright 2006 David Anderson <david.anderson@calixo.net>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- */
-
-#ifndef __FLASH_H__
-#define __FLASH_H__
-
-#include "error.h"
-#include "lowlevel.h"
-
-nxt_error_t nxt_flash_wait_ready(nxt_t *nxt);
-nxt_error_t nxt_flash_lock_region(nxt_t *nxt, int region_num);
-nxt_error_t nxt_flash_unlock_region(nxt_t *nxt, int region_num);
-nxt_error_t nxt_flash_lock_all_regions(nxt_t *nxt);
-nxt_error_t nxt_flash_unlock_all_regions(nxt_t *nxt);
-
-#endif /* __FLASH_H__ */