diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 06:02:01 +0300 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-06-08 03:31:12 +0000 |
commit | c8cf591ee8ff2513b7a5c9d727b7428aabc1fabd (patch) | |
tree | 30ea0edec18f6570bb3e418e724342ba3021224d /src/include/console/ne2k.h | |
parent | 5ad79cdf2f702eff547816b82ebf26f16d1abe54 (diff) | |
download | coreboot-c8cf591ee8ff2513b7a5c9d727b7428aabc1fabd.tar.xz |
arch/x86: Drop leftover ROMCC console support
Change-Id: I3e52569a34e1f7bfea8be9da91348c364ab705e1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26817
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/include/console/ne2k.h')
-rw-r--r-- | src/include/console/ne2k.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/console/ne2k.h b/src/include/console/ne2k.h index 7b43084f38..4b595e4084 100644 --- a/src/include/console/ne2k.h +++ b/src/include/console/ne2k.h @@ -23,10 +23,6 @@ void ne2k_append_data(unsigned char *d, int len, unsigned int base); int ne2k_init(unsigned int eth_nic_base); void ne2k_transmit(unsigned int eth_nic_base); -#ifndef __ROMCC__ -#define ne2k_append_data_byte(d, base) ne2k_append_data(&d, 1, base) -#endif - #if IS_ENABLED(CONFIG_CONSOLE_NE2K) && (ENV_ROMSTAGE || ENV_RAMSTAGE) static inline void __ne2k_init(void) { @@ -34,7 +30,7 @@ static inline void __ne2k_init(void) } static inline void __ne2k_tx_byte(u8 data) { - ne2k_append_data_byte(data, CONFIG_CONSOLE_NE2K_IO_PORT); + ne2k_append_data(&data, 1, CONFIG_CONSOLE_NE2K_IO_PORT); } static inline void __ne2k_tx_flush(void) { |