summaryrefslogtreecommitdiff
path: root/board/ispan
diff options
context:
space:
mode:
Diffstat (limited to 'board/ispan')
-rw-r--r--board/ispan/ispan.c4
-rw-r--r--board/ispan/u-boot.lds3
2 files changed, 5 insertions, 2 deletions
diff --git a/board/ispan/ispan.c b/board/ispan/ispan.c
index fd34899621..d39b8cd533 100644
--- a/board/ispan/ispan.c
+++ b/board/ispan/ispan.c
@@ -290,7 +290,7 @@ static int hwc_serial_number (void)
{
int sn = -1;
- if (!seeprom_read (0xa0, (char *) &sn, sizeof (sn))) {
+ if (!seeprom_read (0xa0, (uchar *) &sn, sizeof (sn))) {
sn = cpu_to_le32 (sn);
}
return sn;
@@ -300,7 +300,7 @@ static int hwc_mac_address (char *str)
{
char mac[6];
- if (!seeprom_read (0xb0, mac, sizeof (mac))) {
+ if (!seeprom_read (0xb0, (uchar *)mac, sizeof (mac))) {
sprintf (str, "%02X:%02X:%02X:%02X:%02X:%02X",
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
} else {
diff --git a/board/ispan/u-boot.lds b/board/ispan/u-boot.lds
index 098c0464cc..bf8048d27e 100644
--- a/board/ispan/u-boot.lds
+++ b/board/ispan/u-boot.lds
@@ -60,6 +60,7 @@ SECTIONS
*(.rodata)
*(.rodata1)
*(.rodata.str1.4)
+ *(.eh_frame)
}
.fini : { *(.fini) } =0
.ctors : { *(.ctors) }
@@ -92,11 +93,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 = .;