@@ -169,54 +169,6 @@ This header file is used to specify and describe board-level aspects for the
169
169
170
170
#define UART_REG_ADDR_INTERVAL 4 /* for ns16550 driver */
171
171
172
- /*
173
- * Device drivers utilize the macros PLB_BYTE_REG_WRITE() and
174
- * PLB_BYTE_REG_READ() to access byte-wide registers on the processor
175
- * local bus (PLB), as opposed to a PCI bus, for example. Boards are
176
- * expected to provide implementations of these macros.
177
- */
178
-
179
- #define PLB_BYTE_REG_WRITE (data , address ) outByte(data, (unsigned int)address)
180
- #define PLB_BYTE_REG_READ (address ) inByte((unsigned int)address)
181
-
182
- /*******************************************************************************
183
- *
184
- * outByte - output byte to memory location
185
- *
186
- * RETURNS: N/A
187
- *
188
- * NOMANUAL
189
- */
190
-
191
- static inline void outByte (uint8_t data , uint32_t addr )
192
- {
193
- * (volatile uint8_t * )addr = data ;
194
- }
195
-
196
- /*******************************************************************************
197
- *
198
- * inByte - obtain byte value from memory location
199
- *
200
- * This function issues the 'move' instruction to read a byte from the specified
201
- * memory address.
202
- *
203
- * RETURNS: the byte read from the specified memory address
204
- *
205
- * NOMANUAL
206
- */
207
-
208
- static inline uint8_t inByte (uint32_t addr )
209
- {
210
- return * ((volatile uint8_t * )addr );
211
- }
212
-
213
- /*
214
- * Device drivers utilize the macros PLB_WORD_REG_WRITE() and
215
- * PLB_WORD_REG_READ() to access shortword-wide registers on the processor
216
- * local bus (PLB), as opposed to a PCI bus, for example. Boards are
217
- * expected to provide implementations of these macros.
218
- */
219
-
220
172
#endif /* !_ASMLANGUAGE */
221
173
222
174
#endif /* _BOARD__H_ */
0 commit comments