diff options
Diffstat (limited to 'board/pn62')
-rw-r--r-- | board/pn62/pn62.c | 2 | ||||
-rw-r--r-- | board/pn62/u-boot.lds | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/board/pn62/pn62.c b/board/pn62/pn62.c index 0252240..377aaa8 100644 --- a/board/pn62/pn62.c +++ b/board/pn62/pn62.c @@ -167,7 +167,7 @@ static int get_serial_number (char *string, int size) if (size < I2155X_VPD_SN_SIZE) size = I2155X_VPD_SN_SIZE; for (i = 0; i < (size - 1); i++) { - i2155x_read_vpd (I2155X_VPD_SN_START + i, 1, &c); + i2155x_read_vpd (I2155X_VPD_SN_START + i, 1, (uchar *)&c); if (c == '\0') break; string[i] = c; diff --git a/board/pn62/u-boot.lds b/board/pn62/u-boot.lds index 98584dc..eaee3fd 100644 --- a/board/pn62/u-boot.lds +++ b/board/pn62/u-boot.lds @@ -71,6 +71,7 @@ SECTIONS *(.rodata) *(.rodata1) *(.rodata.str1.4) + *(.eh_frame) } .fini : { *(.fini) } =0 .ctors : { *(.ctors) } @@ -103,11 +104,13 @@ SECTIONS _edata = .; PROVIDE (edata = .); + . = .; __u_boot_cmd_start = .; .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; + . = .; __start___ex_table = .; __ex_table : { *(__ex_table) } __stop___ex_table = .; |