1580-90; compare Gullahnyam,Jamaican Englishnyaams,Srananjamsi < sources in one or more West African languages (compare Wolofnyam(nyam), Fulani nyami to eat, Twiεnãm flesh, ànyinam, ayam’kàw-dé kinds of yam; earlier E forms < Portugueseinhame or Spanish (i)ñame
C17: from Portuguese inhame, ultimately of West African origin; compare Senegal nyami to eat
Word Origin and History for yam
n.
1580s, from Portuguese inhame or Spanish igname, from a West African language (cf. Fulani nyami "to eat;" Twi anyinam "species of yam"); the word in American and Jamaican English probably is directly from West African sources.