High School Subjects

I’m planning on majoring in physics in a US University. However, I didn’t have maths in year 11 and 12. To make up for that for it, I gave the AP calculus AB exam, got a 5. Now, I need to know if me not having maths as an official subject in high school will affect my major choice.