test24: fix memory leak.

Local variable 'name' was allocated but not freed. Add the free().

Change-Id: I3d16486fc17bd40d54619d80e5b1fdfe96f1be26
arm:fix GPIO revision check on DM37XX.

The GPIO revision check assumed the major and minor revision numbers where
located at same location in the register. This is not true.

Change-Id: Ieaff07ed8a19e6b4cf1d121a41d3290880b78a82
arm-refactor:use sysenv board to determine what driver to start.

Change-Id: Ib2f273a4ff666a7417a13e39be0b89075f61c31b