Skip to content

Commit

Permalink
Update mm-tools
Browse files Browse the repository at this point in the history
* Support 2M flash layout for Avalon8
  • Loading branch information
XzxEmbedded authored and Johnson-Fan committed Nov 22, 2017
1 parent 8e0e2f0 commit b5ed4f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions mm-tools/Config.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
config MM_TOOLS_SOFT_CRC
bool "Enable soft crc algorithm"
default n
config MM_TOOLS_FLASH_LAYOUT_2M
bool "Enable flash layout 2m"
default n
8 changes: 6 additions & 2 deletions mm-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ define Package/mm-tools/Default
endef

define Package/mm-tools/description
mm-tools is a tool to reflash MM firmware for Avalon4, 5, 6, 7.
mm-tools is a tool to reflash MM firmware for Avalon4, 5, 6, 7, 8.
It supports AUC and IIC interface.
endef

Expand All @@ -48,13 +48,17 @@ endef

define Package/mm-tools
$(call Package/mm-tools/Default)
TITLE+=(for Avalon4, 5, 6, 7)
TITLE+=(for Avalon4, 5, 6, 7, 8)
endef

ifeq ($(CONFIG_MM_TOOLS_SOFT_CRC),y)
CONFIGURE_ARGS += --enable-soft-crc
endif

ifeq ($(CONFIG_MM_TOOLS_FLASH_LAYOUT_2M),y)
CONFIGURE_ARGS += --enable-flash-layout-2m
endif

define Build/Install
@echo "Install nothing, Ignore install error"
endef
Expand Down

0 comments on commit b5ed4f0

Please sign in to comment.