The San Francisco 49ers and cornerback Nnamdi Asomugha have agreed to a one-year deal worth up to $3 million, a league source told ESPN NFL Insider Adam Schefter.