Add missing guard from some macros

Guard them for future usage, as none of these macros had a non-preset variable used with them yet.
This commit is contained in:
CTCaer
2020-11-15 13:39:27 +02:00
parent 485edb4883
commit 68d57861cd
9 changed files with 70 additions and 70 deletions

View File

@@ -761,7 +761,7 @@ sdram_params_t *sdram_get_params()
sdram_params_t *sdram_get_params_patched()
{
#define IPATCH_CONFIG(addr, data) (((addr - 0x100000) / 2) << 16 | (data & 0xffff))
#define IPATCH_CONFIG(addr, data) ((((addr) - 0x100000) / 2) << 16 | ((data) & 0xffff))
sdram_params_t *sdram_params = sdram_get_params();
// Disable Warmboot signature check.