ext4fs_set_blk_dev(dev_desc, &info);
if (!ext4fs_mount(info.size)) {
ext4fs_set_blk_dev(dev_desc, &info);
if (!ext4fs_mount(info.size)) {
void env_relocate_spec(void)
{
ALLOC_CACHE_ALIGN_BUFFER(char, buf, CONFIG_ENV_SIZE);
void env_relocate_spec(void)
{
ALLOC_CACHE_ALIGN_BUFFER(char, buf, CONFIG_ENV_SIZE);
ext4fs_set_blk_dev(dev_desc, &info);
if (!ext4fs_mount(info.size)) {
ext4fs_set_blk_dev(dev_desc, &info);
if (!ext4fs_mount(info.size)) {
- err = ext4_read_file(EXT4_ENV_FILE, buf, 0, CONFIG_ENV_SIZE);
+ err = ext4_read_file(EXT4_ENV_FILE, buf, 0, CONFIG_ENV_SIZE, &off);