arch/non-x86: Remove use of __PRE_RAM__

Change-Id: Id8918f40572497b068509b5d5a490de0435ad50b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34921
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Kyösti Mälkki 2019-08-17 04:33:00 +03:00
commit a4e8fb2afd
21 changed files with 7 additions and 60 deletions

View file

@ -515,9 +515,7 @@ struct tegra_dc_mode {
unsigned long READL(void *p);
void WRITEL(unsigned long value, void *p);
#ifndef __PRE_RAM__
void display_startup(struct device *dev);
#endif
void dp_init(void *_config);
void dp_enable(void *_dp);
unsigned int fb_base_mb(void);

View file

@ -128,7 +128,6 @@ void uart_tx_flush(int idx)
tegra124_uart_tx_flush(uart_ptr);
}
#ifndef __PRE_RAM__
void uart_fill_lb(void *data)
{
struct lb_serial serial;
@ -140,4 +139,3 @@ void uart_fill_lb(void *data)
lb_add_console(LB_TAG_CONSOLE_SERIAL8250MEM, data);
}
#endif

View file

@ -115,7 +115,6 @@ unsigned char uart_rx_byte(int idx)
return tegra210_uart_rx_byte();
}
#ifndef __PRE_RAM__
void uart_fill_lb(void *data)
{
struct lb_serial serial;
@ -127,4 +126,3 @@ void uart_fill_lb(void *data)
lb_add_console(LB_TAG_CONSOLE_SERIAL8250MEM, data);
}
#endif