diff options
author | Ivan Pang | 2017-02-06 14:28:08 -0600 |
---|---|---|
committer | Ivan Pang | 2017-02-06 14:28:08 -0600 |
commit | 8a3c14da3f0808854367cae38afe9d47ab80dce6 (patch) | |
tree | 8c2bf684e21345f1fe288d0388330f30f3aeb453 | |
parent | f7ed32cc8911e3353dd01080da9b725b44a12285 (diff) | |
parent | e3bf2736b342b059bf5685b524dafb05cfe5dff6 (diff) | |
download | ibl-8a3c14da3f0808854367cae38afe9d47ab80dce6.tar.gz ibl-8a3c14da3f0808854367cae38afe9d47ab80dce6.tar.xz ibl-8a3c14da3f0808854367cae38afe9d47ab80dce6.zip |
Merge pull request #1 in PROCESSOR-SDK/ibl from PRSDK-787 to master
* commit 'e3bf2736b342b059bf5685b524dafb05cfe5dff6':
c66x: corrected PREDIV and updated size limitations in utils
-rw-r--r-- | src/util/btoccs/b2i2c.c | 4 | ||||
-rwxr-xr-x | src/util/romparse/romparse.c | 4 | ||||
-rwxr-xr-x | src/util/romparse/romparse.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/util/btoccs/b2i2c.c b/src/util/btoccs/b2i2c.c index 804ab64..f6b831e 100644 --- a/src/util/btoccs/b2i2c.c +++ b/src/util/btoccs/b2i2c.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * | 2 | * |
3 | * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ | 3 | * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/ |
4 | * | 4 | * |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
@@ -158,7 +158,7 @@ void blockCheckSum (unsigned char *block, int blockSize) | |||
158 | 158 | ||
159 | } | 159 | } |
160 | 160 | ||
161 | #define SIZE 0x20000 /* max array size */ | 161 | #define SIZE 0x200000 /* max array size */ |
162 | 162 | ||
163 | int main (int argc, char *argv[]) | 163 | int main (int argc, char *argv[]) |
164 | { | 164 | { |
diff --git a/src/util/romparse/romparse.c b/src/util/romparse/romparse.c index d87b48d..b6b295e 100755 --- a/src/util/romparse/romparse.c +++ b/src/util/romparse/romparse.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * | 2 | * |
3 | * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ | 3 | * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/ |
4 | * | 4 | * |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
@@ -505,7 +505,7 @@ void assignKeyVal (int field, int value) | |||
505 | 505 | ||
506 | #if (defined(c66x) || defined(c665x) || defined(c66xk2x)) | 506 | #if (defined(c66x) || defined(c665x) || defined(c66xk2x)) |
507 | case SWPLL_PREDIV: current_table.common.swPllCfg_lsw &= 0x00ff; | 507 | case SWPLL_PREDIV: current_table.common.swPllCfg_lsw &= 0x00ff; |
508 | current_table.common.swPllCfg_lsw |= ((value & 0xff) << 16); | 508 | current_table.common.swPllCfg_lsw |= ((value & 0xff) << 8); |
509 | break; | 509 | break; |
510 | 510 | ||
511 | case SWPLL_MULT: current_table.common.swPllCfg_msw &= 0xc000; | 511 | case SWPLL_MULT: current_table.common.swPllCfg_msw &= 0xc000; |
diff --git a/src/util/romparse/romparse.h b/src/util/romparse/romparse.h index ea86faa..9b4ef62 100755 --- a/src/util/romparse/romparse.h +++ b/src/util/romparse/romparse.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * | 2 | * |
3 | * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ | 3 | * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/ |
4 | * | 4 | * |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
@@ -75,7 +75,7 @@ | |||
75 | /* Define a structure mapping the boot parameter table number to a program file | 75 | /* Define a structure mapping the boot parameter table number to a program file |
76 | * to an eeprom byte address */ | 76 | * to an eeprom byte address */ |
77 | #define MAX_FNAME_LEN 132 | 77 | #define MAX_FNAME_LEN 132 |
78 | #define MAX_DATA_LEN_32bit 32768 | 78 | #define MAX_DATA_LEN_32bit 0x200000 |
79 | typedef struct { | 79 | typedef struct { |
80 | char fname[MAX_FNAME_LEN]; | 80 | char fname[MAX_FNAME_LEN]; |
81 | int sizeBytes; | 81 | int sizeBytes; |