Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
6f2424a7
Commit
6f2424a7
authored
Mar 17, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed udelay - no need
parent
b5499aa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
elphel393-init.c
src/drivers/elphel/elphel393-init.c
+1
-2
No files found.
src/drivers/elphel/elphel393-init.c
View file @
6f2424a7
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
#define SYSFS_READONLY 0444
#define SYSFS_READONLY 0444
#define SYSFS_WRITEONLY 0222
#define SYSFS_WRITEONLY 0222
#define NAND_FLASH_OTP_PAGE_OFFSET
7
*2048
#define NAND_FLASH_OTP_PAGE_OFFSET
8
*2048
/*
/*
* Read and parse bootargs parameter in the device tree
* Read and parse bootargs parameter in the device tree
...
@@ -180,7 +180,6 @@ static ssize_t set_boardinfo(struct device *dev, struct device_attribute *attr,
...
@@ -180,7 +180,6 @@ static ssize_t set_boardinfo(struct device *dev, struct device_attribute *attr,
pr_err
(
"Flash page write, code %d"
,
ret
);
pr_err
(
"Flash page write, code %d"
,
ret
);
return
ret
;
return
ret
;
}
}
udelay
(
100
);
pr_info
(
"Data is successfully written and cannot be overwritten anymore, record size: %d B
\n
"
,
strlen
(
wbuf
));
pr_info
(
"Data is successfully written and cannot be overwritten anymore, record size: %d B
\n
"
,
strlen
(
wbuf
));
get_factory_info
();
get_factory_info
();
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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