Commit b032eb1f71c0382146ecc3c87e7b00e31c312474
Committed by
Tom Rini
1 parent
30391de74f
Exists in
v2017.01-smarct4x
and in
25 other branches
sh4: remove __io config options from r2dplus and r7780mp boards
Defined __io is no-op for the SH architecture and it can be removed from board files without any functional change. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Showing 3 changed files with 0 additions and 12 deletions Side-by-side Diff
arch/sh/include/asm/io.h
... | ... | @@ -68,22 +68,12 @@ |
68 | 68 | #define __raw_base_readl(base, off) __arch_base_getl(base, off) |
69 | 69 | |
70 | 70 | /* |
71 | - * Now, pick up the machine-defined IO definitions | |
72 | - */ | |
73 | -#if 0 /* XXX###XXX */ | |
74 | -#include <asm/arch/io.h> | |
75 | -#endif /* XXX###XXX */ | |
76 | - | |
77 | -/* | |
78 | 71 | * IO port access primitives |
79 | 72 | * ------------------------- |
80 | 73 | * |
81 | 74 | * The SH doesn't have special IO access instructions; all IO is memory |
82 | 75 | * mapped. Note that these are defined to perform little endian accesses |
83 | 76 | * only. Their primary purpose is to access PCI and ISA peripherals. |
84 | - * | |
85 | - * The machine specific io.h include defines __io to translate an "IO" | |
86 | - * address to a memory address. | |
87 | 77 | * |
88 | 78 | * Note that we prevent GCC re-ordering or caching values in expressions |
89 | 79 | * by introducing sequence points into the in*() definitions. Note that |
include/configs/r2dplus.h
include/configs/r7780mp.h
... | ... | @@ -100,7 +100,6 @@ |
100 | 100 | #define CONFIG_SH7780_PCI_LAR CONFIG_SYS_SDRAM_SIZE |
101 | 101 | #define CONFIG_SH7780_PCI_BAR CONFIG_SYS_SDRAM_SIZE |
102 | 102 | #define CONFIG_PCI_SCAN_SHOW 1 |
103 | -#define __io | |
104 | 103 | #define __mem_pci |
105 | 104 | |
106 | 105 | #define CONFIG_PCI_MEM_BUS 0xFD000000 /* Memory space base addr */ |