diff --git a/build/patches/move_mav_cmd_fixed_mag_cal_yaw_to_common.patch b/build/patches/move_mav_cmd_fixed_mag_cal_yaw_to_common.patch
new file mode 100644
index 0000000000..93d4e66961
--- /dev/null
+++ b/build/patches/move_mav_cmd_fixed_mag_cal_yaw_to_common.patch
@@ -0,0 +1,42 @@
+diff --git a/message_definitions/v1.0/ardupilotmega.xml b/message_definitions/v1.0/ardupilotmega.xml
+index 35e57c0a..4af5f9c4 100644
+--- a/message_definitions/v1.0/ardupilotmega.xml
++++ b/message_definitions/v1.0/ardupilotmega.xml
+@@ -121,16 +121,6 @@
+ Empty.
+ Empty.
+
+-
+- Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location.
+- Yaw of vehicle in earth frame.
+- CompassMask, 0 for all.
+- Latitude.
+- Longitude.
+- Empty.
+- Empty.
+- Empty.
+-
+
+ Initiate a magnetometer calibration.
+ uint8_t bitmask of magnetometers (0 means all).
+diff --git a/message_definitions/v1.0/common.xml b/message_definitions/v1.0/common.xml
+index 1ccad646..13c205cb 100644
+--- a/message_definitions/v1.0/common.xml
++++ b/message_definitions/v1.0/common.xml
+@@ -2540,6 +2540,16 @@
+ Longitude. Note, if used in MISSION_ITEM (deprecated) the units are degrees (unscaled)
+ Altitude (MSL)
+
++
++ Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location.
++ Yaw of vehicle in earth frame.
++ CompassMask, 0 for all.
++ Latitude.
++ Longitude.
++ Empty.
++ Empty.
++ Empty.
++
+
+ Control the payload deployment.
+ Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.