projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Blackfin: set default boot SPI CS for BF538/BF539
[oweals/u-boot.git]
/
api_examples
/
glue.c
diff --git
a/api_examples/glue.c
b/api_examples/glue.c
index 75983691fde4332d748f45c375472114a1577657..2bf47ae3d212f9f383c27683a23a4bc00f0d98b8 100644
(file)
--- a/
api_examples/glue.c
+++ b/
api_examples/glue.c
@@
-150,7
+150,7
@@
struct sys_info * ub_get_sys_info(void)
* timing
*
****************************************/
* timing
*
****************************************/
-
+
void ub_udelay(unsigned long usec)
{
syscall(API_UDELAY, NULL, &usec);
void ub_udelay(unsigned long usec)
{
syscall(API_UDELAY, NULL, &usec);
@@
-298,7
+298,7
@@
int ub_dev_read(int handle, void *buf, lbasize_t len, lbastart_t start)
if (!syscall(API_DEV_READ, &err, di, buf, &len, &start, &act_len))
return -1;
if (!syscall(API_DEV_READ, &err, di, buf, &len, &start, &act_len))
return -1;
- if (err)
+ if (err)
return err;
if (act_len != len)
return err;
if (act_len != len)