We study Quantum Gravity effects in cosmology, and in particular that of the Generalized Uncertainty Principle on the Friedmann equations. We show that the Generalized Uncertainty Principle induces variations of the energy density and pressure in the radiation-dominated era which provide a viable explanation for the observed baryon asymmetry in the Universe.