| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH3 Setup code for SH7706, SH7707, SH7708, SH7709 |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * Based on setup-sh7709.c |
|---|
| 8 | 9 | * |
|---|
| 9 | 10 | * Copyright (C) 2006 Paul Mundt |
|---|
| 10 | | - * |
|---|
| 11 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 12 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 13 | | - * for more details. |
|---|
| 14 | 11 | */ |
|---|
| 15 | 12 | #include <linux/init.h> |
|---|
| 16 | 13 | #include <linux/io.h> |
|---|
| .. | .. |
|---|
| 21 | 18 | #include <linux/sh_timer.h> |
|---|
| 22 | 19 | #include <linux/sh_intc.h> |
|---|
| 23 | 20 | #include <cpu/serial.h> |
|---|
| 21 | +#include <asm/platform_early.h> |
|---|
| 24 | 22 | |
|---|
| 25 | 23 | enum { |
|---|
| 26 | 24 | UNUSED = 0, |
|---|
| .. | .. |
|---|
| 233 | 231 | |
|---|
| 234 | 232 | void __init plat_early_device_setup(void) |
|---|
| 235 | 233 | { |
|---|
| 236 | | - early_platform_add_devices(sh770x_early_devices, |
|---|
| 234 | + sh_early_platform_add_devices(sh770x_early_devices, |
|---|
| 237 | 235 | ARRAY_SIZE(sh770x_early_devices)); |
|---|
| 238 | 236 | } |
|---|
| 239 | 237 | |
|---|