I'm reading "Classical Mechanics" (5ed) by Berkshire and Kibble, in the example for uniform magnetic field on pg.243 (Chapter 10 Lagrangian Mechanics) I came across this
A charged particle moves in a uniform static magnetic field B. Find the solutions of the equations of motion in which ρ (axial radius, cylindrical coordinates) is constant.
For a uniform magnetic field, we may take $$\phi=0 \text{ and } \boldsymbol{A}=\frac{1}{2}\boldsymbol{B}\times\boldsymbol{r}$$
The authors did not explain where these come from and I cannot understand why such conditions are imposed.
I'm particularly confused about the first condition (scalar potential=0),neither of the four Maxwell's equations require $\phi=0$ for when $\partial_tB^i=0$.
Is this purely a choice or am I missing something?