ばかり — 'just did X' vs 'nothing but X', same word different meaning?

食べたばかり (just ate) and 漫画ばかり読んでいる (reads nothing but manga) both use ばかり but feel totally unrelated in meaning. Are these really the same grammar point or is my textbook conflating two things?
Post
沐學 Mizuru