Subject to the provisions of section 541.03, any mortgage of real estate containing a power of sale, upon default being made in any condition thereof, may be foreclosed by advertisement.