What is a yellowish flaky deposit on a baby's scalp?

Usually.... ..Seborrheic dermatitis, a bacteria-colonized product of hyperactive sebaceous glands, often from allergic problems.