In "configuration.h" file for motor direction there is...
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
define INVERT_X_DIR true
define INVERT_Y_DIR false
define INVERT_Z_DIR true
And for homing direction you're looking for...
// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
define X_HOME_DIR -1
define Y_HOME_DIR -1
define Z_HOME_DIR -1
Sounds like you got it going, but for future reference so you know.