mtd, nand: Move common functions from cmd_nand.c to common place
Move common functions from cmd_nand.c (for calculating offset and size from cmdline paramter) to common place, so they could used from other commands which use mtd partitions. For onenand the arg_off_size() is left in common/cmd_onenand.c. It should use now the common arg_off() function, but as I could not test onenand I let it there ... Signed-off-by: NHeiko Schocher <hs@denx.de> Acked-by: NScott Wood <scottwood@freescale.com> Reviewed-by: NJagannadh Teki <jteki@openedev.com>
Showing
drivers/mtd/mtd_uboot.c
0 → 100644
想要评论请 注册 或 登录