Do potatoes and tomatoes have a single evolutionary history, and what proportion of the genome supports this history?

Do potatoes and tomatoes have a single evolutionary history, and what proportion of the genome supports this history?