diff --git a/stratosphere/boot/source/boot_change_voltage.cpp b/stratosphere/boot/source/boot_change_voltage.cpp
index 8e6a9c2c5..0c55e778d 100644
--- a/stratosphere/boot/source/boot_change_voltage.cpp
+++ b/stratosphere/boot/source/boot_change_voltage.cpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#include "boot_functions.hpp"
static constexpr u32 Sdmmc3VoltageBit = (1 << 13); /* SDMMC3 */
diff --git a/stratosphere/boot/source/boot_gpio_map.hpp b/stratosphere/boot/source/boot_gpio_map.hpp
index e89e2de53..0f357111c 100644
--- a/stratosphere/boot/source/boot_gpio_map.hpp
+++ b/stratosphere/boot/source/boot_gpio_map.hpp
@@ -81,7 +81,7 @@ static constexpr u32 GpioMap[] = {
0x00000058, /* Port L, Pin 0 */
0x0000003E, /* Port H, Pin 6 */
0x00000026, /* Port E, Pin 6 */
-
+
/* Copper only */
GpioInvalid, /* Invalid */
0x00000033, /* Port G, Pin 3 */
@@ -99,11 +99,11 @@ static constexpr u32 GpioMap[] = {
0x00000012, /* Port C, Pin 2 */
0x00000042, /* Port I, Pin 2 */
0x000000E6, /* Port CC, Pin 6 */
-
+
/* 2.0.0+ Copper only */
0x000000AC, /* Port V, Pin 4 */
0x000000E1, /* Port CC, Pin 1 */
-
+
/* 5.0.0+ Copper only (unused) */
0x00000056, /* Port K, Pin 6 */
};
diff --git a/stratosphere/boot/source/boot_pinmux_map.hpp b/stratosphere/boot/source/boot_pinmux_map.hpp
index 67c4a5c82..e1022c676 100644
--- a/stratosphere/boot/source/boot_pinmux_map.hpp
+++ b/stratosphere/boot/source/boot_pinmux_map.hpp
@@ -191,7 +191,7 @@ static constexpr PinmuxDefinition PinmuxMap[] = {
{0x00003288, 0x72FF, 0x01}, /* GpioPz3 */
{0x0000328C, 0x72FF, 0x01}, /* GpioPz4 */
{0x00003290, 0x72FF, 0x01}, /* GpioPz5 */
-
+
/* 5.0.0+ only */
{0x00003294, 0x1F2FF, 0x02}, /* Sdmmc2Dat0 */
{0x00003298, 0x1F2FF, 0x02}, /* Sdmmc2Dat1 */
diff --git a/stratosphere/boot/source/boot_pmc_wrapper.cpp b/stratosphere/boot/source/boot_pmc_wrapper.cpp
index 00f6f004d..bb95ca194 100644
--- a/stratosphere/boot/source/boot_pmc_wrapper.cpp
+++ b/stratosphere/boot/source/boot_pmc_wrapper.cpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#include "boot_functions.hpp"
static constexpr u32 SmcFunctionId_AtmosphereReadWriteRegister = 0xF0000002;
diff --git a/stratosphere/boot/source/boot_repair_boot_images.cpp b/stratosphere/boot/source/boot_repair_boot_images.cpp
index 1ca43ad63..a05e7d1dc 100644
--- a/stratosphere/boot/source/boot_repair_boot_images.cpp
+++ b/stratosphere/boot/source/boot_repair_boot_images.cpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#include "boot_functions.hpp"
#include "updater/updater_api.hpp"
diff --git a/stratosphere/boot/source/boot_spl_utils.cpp b/stratosphere/boot/source/boot_spl_utils.cpp
index f16387e7b..3ee0d1a85 100644
--- a/stratosphere/boot/source/boot_spl_utils.cpp
+++ b/stratosphere/boot/source/boot_spl_utils.cpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#include "boot_functions.hpp"
HardwareType Boot::GetHardwareType() {
diff --git a/stratosphere/boot/source/boot_types.hpp b/stratosphere/boot/source/boot_types.hpp
index 03e2ad4cc..3e709fa8b 100644
--- a/stratosphere/boot/source/boot_types.hpp
+++ b/stratosphere/boot/source/boot_types.hpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#pragma once
#include
#include
diff --git a/stratosphere/boot/source/i2c_driver/i2c_command_list.cpp b/stratosphere/boot/source/i2c_driver/i2c_command_list.cpp
index 70e8024d8..0e11f4e4f 100644
--- a/stratosphere/boot/source/i2c_driver/i2c_command_list.cpp
+++ b/stratosphere/boot/source/i2c_driver/i2c_command_list.cpp
@@ -38,7 +38,7 @@ Result I2cCommandListFormatter::EnqueueSendCommand(I2cTransactionOption option,
this->cmd_list[this->cur_index] |= ((option & I2cTransactionOption_Start) != 0) << 6;
this->cmd_list[this->cur_index] |= ((option & I2cTransactionOption_Stop) != 0) << 7;
this->cur_index++;
-
+
this->cmd_list[this->cur_index++] = size;
const u8 *src_u8 = reinterpret_cast(src);
@@ -51,12 +51,12 @@ Result I2cCommandListFormatter::EnqueueSendCommand(I2cTransactionOption option,
Result I2cCommandListFormatter::EnqueueReceiveCommand(I2cTransactionOption option, size_t size) {
Result rc = this->CanEnqueue(ReceiveCommandSize);
if (R_FAILED(rc)) { return rc; }
-
+
this->cmd_list[this->cur_index] = I2cCommand_Receive;
this->cmd_list[this->cur_index] |= ((option & I2cTransactionOption_Start) != 0) << 6;
this->cmd_list[this->cur_index] |= ((option & I2cTransactionOption_Stop) != 0) << 7;
this->cur_index++;
-
+
this->cmd_list[this->cur_index++] = size;
return ResultSuccess;
}
@@ -64,11 +64,11 @@ Result I2cCommandListFormatter::EnqueueReceiveCommand(I2cTransactionOption optio
Result I2cCommandListFormatter::EnqueueSleepCommand(size_t us) {
Result rc = this->CanEnqueue(SleepCommandSize);
if (R_FAILED(rc)) { return rc; }
-
+
this->cmd_list[this->cur_index] = I2cCommand_SubCommand;
this->cmd_list[this->cur_index] |= I2cSubCommand_Sleep << 2;
this->cur_index++;
-
+
this->cmd_list[this->cur_index++] = us;
return ResultSuccess;
}
diff --git a/stratosphere/boot/source/i2c_driver/i2c_command_list.hpp b/stratosphere/boot/source/i2c_driver/i2c_command_list.hpp
index 6c09d8f28..8b88c588e 100644
--- a/stratosphere/boot/source/i2c_driver/i2c_command_list.hpp
+++ b/stratosphere/boot/source/i2c_driver/i2c_command_list.hpp
@@ -39,14 +39,14 @@ class I2cCommandListFormatter {
~I2cCommandListFormatter() {
this->cmd_list = nullptr;
}
-
+
private:
Result CanEnqueue(size_t size) const;
public:
size_t GetCurrentSize() const {
return this->cur_index;
}
-
+
Result EnqueueSendCommand(I2cTransactionOption option, const void *src, size_t size);
Result EnqueueReceiveCommand(I2cTransactionOption option, size_t size);
Result EnqueueSleepCommand(size_t us);
diff --git a/stratosphere/boot/source/i2c_driver/i2c_device_config.cpp b/stratosphere/boot/source/i2c_driver/i2c_device_config.cpp
index c39bf8244..73922d2bd 100644
--- a/stratosphere/boot/source/i2c_driver/i2c_device_config.cpp
+++ b/stratosphere/boot/source/i2c_driver/i2c_device_config.cpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#include
#include
diff --git a/stratosphere/boot/source/i2c_driver/i2c_types.hpp b/stratosphere/boot/source/i2c_driver/i2c_types.hpp
index 554fd8b7b..329edb085 100644
--- a/stratosphere/boot/source/i2c_driver/i2c_types.hpp
+++ b/stratosphere/boot/source/i2c_driver/i2c_types.hpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#pragma once
#include
#include