Add parameters to gen_flashcmd_*
Add parameters to gen_flashcmd_*

This way, they don't rely on global variables, which won't be global
once the flashing code is in a separate function.

Signed-off-by: Stephen Warren <5ef2a23ba3aff51d1cfc8c113c1ec34b608b3b13@nvidia.com>

NVIDIA/tegra-uboot-flasher-scripts