Spelt and spelled are both correct. Most dictionaries give both.
[trivia]
"Spelt" is the older form. Past tenses formed by adding '-ed' only started to appear in the 17th century but have become steadily more common since. However the older form, "spelt" is not yet obsolete.
[/trivia]