grate: factor out program-resetting
grate: factor out program-resetting

We know what these commands do, so let's facor them out properly.

digetx/grate,grate-driver/grate,digetx/grate,grate-driver/grate