From c65d94f7d0e0c511794ea1f42ddf01e66f97e236 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 17:14:07 -0800 Subject: add flash/nor/core.[ch] The newly moved flash TCL routines access the internals of the module too much. Fix the layering issues by adding new core NOR flash APIs: : - flash_driver_find_by_name() - self-descriptive : - flash_bank_add() - encapsulates adding banks to bank list - flash_bank_list() - encapsulates retreiving bank list This allows the externs in flash/nor/imp.h to be removed, and these mechanisms may now be re-used by other flash module code. --- src/flash/nor/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/flash/nor/Makefile.am') diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am index ed9ebb30..499ebfa2 100644 --- a/src/flash/nor/Makefile.am +++ b/src/flash/nor/Makefile.am @@ -2,6 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src noinst_LTLIBRARIES = libocdflashnor.la libocdflashnor_la_SOURCES = \ + core.c \ tcl.c \ $(NOR_DRIVERS) -- cgit v1.2.3