diff options
| author | Tom Rini <[email protected]> | 2025-06-14 09:10:48 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-06-14 09:10:48 -0600 |
| commit | 03817a2a8046ea89dac2be72ce0c16a9faa5570b (patch) | |
| tree | b4d6f39f9b0ded094c7f54aeb135a9eae6e19492 /drivers/ram | |
| parent | 2556caa89caba6c3d4df7910828119bc65beb1f0 (diff) | |
| parent | 0230ad1c30a405c807dad5f78c95c57704234ffd (diff) | |
Merge patch series "Hex value prefix case cleanup"
E Shattow <[email protected]> says:
Make consistent use of lowercase hexadecimal prefix '0x' throughout U-Boot.
There are a few remaining uses of uppercase 'X' to denote hexadecimal prefix
or placeholder in documentation and error messages.
External devicetree-rebasing dts/upstream and the generated code of
xilinx/zynq are ignored for the series.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/ram')
| -rw-r--r-- | drivers/ram/k3-ddrss/k3-ddrss.c | 2 | ||||
| -rw-r--r-- | drivers/ram/octeon/octeon3_lmc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c index ff87faf6a22..6590d57ad84 100644 --- a/drivers/ram/k3-ddrss/k3-ddrss.c +++ b/drivers/ram/k3-ddrss/k3-ddrss.c @@ -35,7 +35,7 @@ #define DDRSS_V2A_CTL_REG_SDRAM_IDX_CALC(x) ((ilog2(x) - 16) << 5) #define DDRSS_V2A_CTL_REG_SDRAM_IDX_MASK (~(0x1F << 0x5)) -#define DDRSS_V2A_CTL_REG_REGION_IDX_MASK (~(0X1F)) +#define DDRSS_V2A_CTL_REG_REGION_IDX_MASK (~(0x1F)) #define DDRSS_V2A_CTL_REG_REGION_IDX_DEFAULT 0xF #define DDRSS_ECC_CTRL_REG_DEFAULT 0x0 diff --git a/drivers/ram/octeon/octeon3_lmc.c b/drivers/ram/octeon/octeon3_lmc.c index eaef0fa5c12..dc4b8f8cf23 100644 --- a/drivers/ram/octeon/octeon3_lmc.c +++ b/drivers/ram/octeon/octeon3_lmc.c @@ -8692,7 +8692,7 @@ int init_octeon3_ddr3_interface(struct ddr_priv *priv, bank_bits = min((int)bank_bits, 4); spd_package = - 0XFF & read_spd(&dimm_config_table[0], 0, + 0xFF & read_spd(&dimm_config_table[0], 0, DDR4_SPD_PACKAGE_TYPE); if (spd_package & 0x80) { // non-monolithic device is_stacked_die = ((spd_package & 0x73) == 0x11); |
