Add global configurations
In most cases we are dealing with two types of devices. MTD and EMMC. These two types will work the same in most cases. MTD devices can mostly read and write to the boot partition using the name 'boot', and EMMC can read and write to the boot partition written in recovery.fstab. This makes it easy to add a global config and script which will work on most devices and add support for a lot of devices which had not yet been added to the device tree.