From cd0a9de68b03e5a54fd2a08f44be318e4397be01 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 23 Feb 2004 20:48:38 +0000 Subject: * Patch by Laurent Mohin, 10 Feb 2004: Fix buffer overflow in common/usb.c * Patch by Tolunay Orkun, 10 Feb 2004: Add support for Cogent CSB272 board * Code cleanup --- board/modnet50/flash.c | 4 ++-- board/modnet50/u-boot.lds | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'board/modnet50') diff --git a/board/modnet50/flash.c b/board/modnet50/flash.c index fc04d91..a50639e 100644 --- a/board/modnet50/flash.c +++ b/board/modnet50/flash.c @@ -312,7 +312,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last) case (FLASH_AM160LV | FLASH_AM160B): setup_offset = UNLOCK_ADDR1; /* just the adress for setup_cmd differs */ case FLASH_AMDL323B: - /* + /* * Disable interrupts which might cause a timeout * here. Remember that our exception vectors are * at address 0 in the flash, and we don't want a @@ -416,7 +416,7 @@ static int write_word (flash_info_t * info, ulong dest, ushort data) if ((*(__u16 *) (dest) & data) != data) return ERR_NOT_ERASED; - /* + /* * Disable interrupts which might cause a timeout * here. Remember that our exception vectors are * at address 0 in the flash, and we don't want a diff --git a/board/modnet50/u-boot.lds b/board/modnet50/u-boot.lds index ac09f5f..9899790 100644 --- a/board/modnet50/u-boot.lds +++ b/board/modnet50/u-boot.lds @@ -12,7 +12,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License @@ -29,7 +29,7 @@ SECTIONS . = 0x00000000; . = ALIGN(4); - .text : + .text : { cpu/arm720t/start.o (.text) *(.text) @@ -52,17 +52,17 @@ SECTIONS __bss_start = .; .bss : { *(.bss) } _end = .; - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } + /* Stabs debugging sections. */ + .stab 0 : { *(.stab) } + .stabstr 0 : { *(.stabstr) } + .stab.excl 0 : { *(.stab.excl) } + .stab.exclstr 0 : { *(.stab.exclstr) } + .stab.index 0 : { *(.stab.index) } + .stab.indexstr 0 : { *(.stab.indexstr) } + .comment 0 : { *(.comment) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_info 0 : { *(.debug_info) } + .debug_line 0 : { *(.debug_line) } + .debug_pubnames 0 : { *(.debug_pubnames) } + .debug_aranges 0 : { *(.debug_aranges) } } -- cgit v1.1