Home
last modified time | relevance | path

Searched hist:"229695 fee97abc7f4adad92eb8e036792c144bc6" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/tools/env/
H A Dfw_env.c229695fee97abc7f4adad92eb8e036792c144bc6 Fri Mar 28 16:03:33 UTC 2014 Tom Rini <trini@ti.com> fw_env.c: Switch get_config to use '%ms' in sscanf

We currently limit ourself to 16 characters for the device name to read
the environment from. This is insufficient for /dev/mmcblk0boot1 to
work for example. Switch to '%ms' which gives us a dynamically
allocated buffer instead. We're short lived enough to not bother
free()ing the buffer.

Signed-off-by: Tom Rini <trini@ti.com>