Commit 6f2424a7 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

removed udelay - no need

parent b5499aa0
...@@ -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{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment