Remove unused/old header

Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/a71c6eaf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/a71c6eaf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/a71c6eaf

Branch: refs/heads/develop
Commit: a71c6eafe717e3460c7a68199e31617e1d783bca
Parents: 753a389
Author: Fabio Utzig <[email protected]>
Authored: Thu Jan 19 08:16:02 2017 -0200
Committer: Fabio Utzig <[email protected]>
Committed: Fri Jan 20 07:27:40 2017 -0200

----------------------------------------------------------------------
 hw/drivers/flash/include/flash/flash.h | 45 -----------------------------
 1 file changed, 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a71c6eaf/hw/drivers/flash/include/flash/flash.h
----------------------------------------------------------------------
diff --git a/hw/drivers/flash/include/flash/flash.h 
b/hw/drivers/flash/include/flash/flash.h
deleted file mode 100644
index c0807ff..0000000
--- a/hw/drivers/flash/include/flash/flash.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef __FLASH_H__
-#define __FLASH_H__
-
-#include <os/os_dev.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int
-flash_init(int spi_num, void *spi_cfg, int ss_pin, uint32_t baudrate);
-
-int
-flash_read(uint8_t flash_id, uint32_t addr, void *buf, size_t len);
-
-int
-flash_write(uint8_t flash_id, uint32_t addr, const void *buf, size_t len);
-
-int
-flash_erase(uint8_t flash_id, uint32_t addr, size_t len);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __MMC_H__ */

Reply via email to