diff options
| author | Tom Rini <[email protected]> | 2023-01-10 11:19:28 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-20 12:27:06 -0500 |
| commit | a3fda0d30afa5e931520006351752cfb9c0103dd (patch) | |
| tree | fd6901713763ad44a013fc514e3f02f3fa8b6411 /arch/powerpc/cpu | |
| parent | 8bd3c0a7e17ee17c771cabc0e548a1a436ac021d (diff) | |
global: Remove unused CONFIG defines
Remove some CONFIG symbols and related comments, etc, that are unused
within the code itself at this point.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch/powerpc/cpu')
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/fdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index a7e1df104d7..35142508c30 100644 --- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -92,7 +92,6 @@ void ft_fixup_cpu(void *blob, u64 memory_limit) } #if defined(T1040_TDM_QUIRK_CCSR_BASE) -#define CONFIG_MEM_HOLE_16M 0x1000000 /* * Extract hwconfig from environment. * Search for tdm entry in hwconfig. @@ -103,8 +102,7 @@ void ft_fixup_cpu(void *blob, u64 memory_limit) /* Reserve the memory hole created by TDM LAW, so OSes dont use it */ if (tdm_hwconfig_enabled) { - off = fdt_add_mem_rsv(blob, T1040_TDM_QUIRK_CCSR_BASE, - CONFIG_MEM_HOLE_16M); + off = fdt_add_mem_rsv(blob, T1040_TDM_QUIRK_CCSR_BASE, SZ_16); if (off < 0) printf("Failed to reserve memory for tdm: %s\n", fdt_strerror(off)); |
