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
a67c4ca7
Commit
a67c4ca7
authored
Mar 17, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set OTP area offset to 0
parent
6f2424a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
elphel393-init.c
src/drivers/elphel/elphel393-init.c
+1
-4
No files found.
src/drivers/elphel/elphel393-init.c
View file @
a67c4ca7
...
...
@@ -48,7 +48,7 @@
#define SYSFS_READONLY 0444
#define SYSFS_WRITEONLY 0222
#define NAND_FLASH_OTP_PAGE_OFFSET
8
*2048
#define NAND_FLASH_OTP_PAGE_OFFSET
0
*2048
/*
* Read and parse bootargs parameter in the device tree
...
...
@@ -169,9 +169,6 @@ static ssize_t set_boardinfo(struct device *dev, struct device_attribute *attr,
pr_err
(
"Bad data format
\n
"
);
return
-
EINVAL
;
}
//tmp disabled.
//ret = mtd_write_user_prot_reg(mtd, *ppos+4*2048, 2048, &retlen, buf);
//copy to buf
strncpy
(
wbuf
,
buf
,
strlen
(
buf
));
//pr_info("BUFFER: %s\n",wbuf);
...
...
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