Sounds like you might be talking about a hummingbird cake! It's got bananas, pineapple, spices, and pecans usually. Topped with cream cheese frosting that’s not too sweet but so good. Just look up a hummingbird cake recipe, might be what you’re looking for :)