Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
8d4ba3da
Commit
8d4ba3da
authored
Aug 12, 2005
by
Wolfgang Denk
Browse files
Eliminate calls of ARM libgcc.a helper functions _divsi3 and _modsi3
Patch by Anders Larsen, 26 Apr 2005
parent
4d302d69
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
8d4ba3da
...
...
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.3:
======================================================================
* Eliminate calls of ARM libgcc.a helper functions _divsi3 and _modsi3
Patch by Anders Larsen, 26 Apr 2005
* measure_gclk() is needed when DEBUG is enabled
Patch by Bryan O'Donoghue, 25 Apr 2005
...
...
cpu/arm920t/at91rm9200/serial.c
View file @
8d4ba3da
...
...
@@ -56,7 +56,7 @@ void serial_setbrg (void)
if
((
baudrate
=
gd
->
baudrate
)
<=
0
)
baudrate
=
CONFIG_BAUDRATE
;
/* MASTER_CLOCK/(16 * baudrate) */
us
->
US_BRGR
=
(
AT91C_MASTER_CLOCK
>>
4
)
/
baudrate
;
us
->
US_BRGR
=
(
AT91C_MASTER_CLOCK
>>
4
)
/
(
unsigned
)
baudrate
;
}
int
serial_init
(
void
)
...
...
drivers/cfi_flash.c
View file @
8d4ba3da
...
...
@@ -557,7 +557,7 @@ int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
i
=
buffered_size
>
cnt
?
cnt
:
buffered_size
;
if
((
rc
=
flash_write_cfibuffer
(
info
,
wp
,
src
,
i
))
!=
ERR_OK
)
return
rc
;
i
-=
(
i
%
info
->
portwidth
);
i
-=
i
&
(
info
->
portwidth
-
1
);
wp
+=
i
;
src
+=
i
;
cnt
-=
i
;
...
...
@@ -805,7 +805,7 @@ static void flash_make_cmd (flash_info_t * info, uchar cmd, void *cmdbuf)
uchar
*
cp
=
(
uchar
*
)
cmdbuf
;
for
(
i
=
0
;
i
<
info
->
portwidth
;
i
++
)
*
cp
++
=
((
i
+
1
)
%
info
->
chipwidth
)
?
'\0'
:
cmd
;
*
cp
++
=
((
i
+
1
)
&
(
info
->
chipwidth
-
1
)
)
?
'\0'
:
cmd
;
#if defined(__LITTLE_ENDIAN)
switch
(
info
->
portwidth
)
{
case
FLASH_CFI_8BIT
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment