NASCAR said it will ban the display of the Confederate flag at all its events an