summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDirk Eibach <dirk.eibach@gdsys.cc>2016-06-02 09:05:39 +0200
committerTom Rini <trini@konsulko.com>2016-06-06 13:39:12 -0400
commit52b13f275e0c1c2e1fb1e367a01614137baf64ce (patch)
treeb3fd30a6ef1c153904df294837a747dd77d4abfc /board
parentc165994299281957d735f5ec8863dda6243c3456 (diff)
downloadu-boot-imx-52b13f275e0c1c2e1fb1e367a01614137baf64ce.zip
u-boot-imx-52b13f275e0c1c2e1fb1e367a01614137baf64ce.tar.gz
u-boot-imx-52b13f275e0c1c2e1fb1e367a01614137baf64ce.tar.bz2
ioep-fpga: Support intempo compression
There is a new "intempo" compression type that can be reported on startup. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r--board/gdsys/common/ioep-fpga.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c
index 96f02d6..f72a01e 100644
--- a/board/gdsys/common/ioep-fpga.c
+++ b/board/gdsys/common/ioep-fpga.c
@@ -25,8 +25,9 @@ enum {
enum {
COMPRESSION_NONE = 0,
- COMPRESSION_TYPE1_DELTA = 1,
- COMPRESSION_TYPE1_TYPE2_DELTA = 3,
+ COMPRESSION_TYPE_1 = 1,
+ COMPRESSION_TYPE_1_2 = 3,
+ COMPRESSION_TYPE_1_2_3 = 7,
};
enum {
@@ -158,12 +159,16 @@ void ioep_fpga_print_info(unsigned int fpga)
printf(" no compression");
break;
- case COMPRESSION_TYPE1_DELTA:
- printf(" type1-deltacompression");
+ case COMPRESSION_TYPE_1:
+ printf(" compression type1(delta)");
break;
- case COMPRESSION_TYPE1_TYPE2_DELTA:
- printf(" type1-deltacompression, type2-inlinecompression");
+ case COMPRESSION_TYPE_1_2:
+ printf(" compression type1(delta), type2(inline)");
+ break;
+
+ case COMPRESSION_TYPE_1_2_3:
+ printf(" compression type1(delta), type2(inline), type3(intempo)");
break;
default: