Kevin Pietersen was passed fit to play in England's final warm-up match before the first Ashes Test with Australia.