Find the value of \(m\) for which the equation \(x^2 + m(2x + m - 1) + 2 = 0\)  has real and equal roots.
 
\(m=\)