diff options
Diffstat (limited to 'board/siemens/SCM')
-rw-r--r-- | board/siemens/SCM/scm.c | 2 | ||||
-rw-r--r-- | board/siemens/SCM/u-boot.lds | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/board/siemens/SCM/scm.c b/board/siemens/SCM/scm.c index d832edf825..d20688d568 100644 --- a/board/siemens/SCM/scm.c +++ b/board/siemens/SCM/scm.c @@ -206,7 +206,7 @@ const iop_conf_t iop_conf_tab[4][32] = { */ int checkboard (void) { - unsigned char str[64]; + char str[64]; int i = getenv_r ("serial#", str, sizeof (str)); puts ("Board: "); diff --git a/board/siemens/SCM/u-boot.lds b/board/siemens/SCM/u-boot.lds index ce6c4540d0..05f29c6ed0 100644 --- a/board/siemens/SCM/u-boot.lds +++ b/board/siemens/SCM/u-boot.lds @@ -62,6 +62,7 @@ SECTIONS *(.rodata) *(.rodata1) *(.rodata.str1.4) + *(.eh_frame) } .fini : { *(.fini) } =0 .ctors : { *(.ctors) } @@ -94,11 +95,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 = .; |