Lionel Messi has been passed fit to play the second leg of the Spanish Super Cup for Barcelona against Atletico Madrid.