From f9dd2168e110382820bd388d34564cd523e69e49 Mon Sep 17 00:00:00 2001
From: JianjunJiang <8192542@qq.com>
Date: Fri, 10 Dec 2021 16:47:33 +0800
Subject: [PATCH] [xfel]bump version to v1.2.2
---
README.md | 39 ++++++++++++++++++++-------------------
main.c | 2 +-
2 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/README.md b/README.md
index 964d666..ac23c38 100644
--- a/README.md
+++ b/README.md
@@ -55,26 +55,27 @@ For 64-bits windows, you can using `x86_64-w64-mingw32-` instead of `i686-w64-mi
## Usage
```shell
-xfel(v1.2.1) - https://github.com/xboot/xfel
+xfel(v1.2.2) - https://github.com/xboot/xfel
usage:
- xfel version - Show chip version
- xfel hexdump
- Dumps memory region in hex
- xfel dump - Binary memory dump to stdout
- xfel exec - Call function address
- xfel read32 - Read 32-bits value from device memory
- xfel write32 - Write 32-bits value to device memory
- xfel read - Read memory to file
- xfel write - Write file to memory
- xfel reset - Reset device using watchdog
- xfel sid - Show sid information
- xfel jtag - Enable jtag debug
- xfel ddr [type] - Initial ddr controller with optional type
- xfel spinor - Detect spi nor flash
- xfel spinor read - Read spi nor flash to file
- xfel spinor write - Write file to spi nor flash
- xfel spinand - Detect spi nand flash
- xfel spinand read - Read spi nand flash to file
- xfel spinand write - Write file to spi nand flash
+ xfel version - Show chip version
+ xfel hexdump - Dumps memory region in hex
+ xfel dump - Binary memory dump to stdout
+ xfel exec - Call function address
+ xfel read32 - Read 32-bits value from device memory
+ xfel write32 - Write 32-bits value to device memory
+ xfel read - Read memory to file
+ xfel write - Write file to memory
+ xfel reset - Reset device using watchdog
+ xfel sid - Show sid information
+ xfel jtag - Enable jtag debug
+ xfel ddr [type] - Initial ddr controller with optional type
+ xfel spinor - Detect spi nor flash
+ xfel spinor read - Read spi nor flash to file
+ xfel spinor write - Write file to spi nor flash
+ xfel spinand - Detect spi nand flash
+ xfel spinand read - Read spi nand flash to file
+ xfel spinand write - Write file to spi nand flash
+ xfel spinand splwrite - Write file to spi nand flash with spl mode
```
## Links
diff --git a/main.c b/main.c
index 402f026..ea49810 100644
--- a/main.c
+++ b/main.c
@@ -81,7 +81,7 @@ static void hexdump(uint32_t addr, void * buf, size_t len)
static void usage(void)
{
- printf("xfel(v1.2.1) - https://github.com/xboot/xfel\r\n");
+ printf("xfel(v1.2.2) - https://github.com/xboot/xfel\r\n");
printf("usage:\r\n");
printf(" xfel version - Show chip version\r\n");
printf(" xfel hexdump - Dumps memory region in hex\r\n");