18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Old U-boot compatibility for Bamboo
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Author: Josh Boyer <jwboyer@linux.vnet.ibm.com>
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright 2007 IBM Corporation
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * Based on cuboot-ebony.c
108c2ecf20Sopenharmony_ci */
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include "ops.h"
138c2ecf20Sopenharmony_ci#include "stdio.h"
148c2ecf20Sopenharmony_ci#include "44x.h"
158c2ecf20Sopenharmony_ci#include "cuboot.h"
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#define TARGET_4xx
188c2ecf20Sopenharmony_ci#define TARGET_44x
198c2ecf20Sopenharmony_ci#include "ppcboot.h"
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_cistatic bd_t bd;
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_civoid platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
248c2ecf20Sopenharmony_ci		unsigned long r6, unsigned long r7)
258c2ecf20Sopenharmony_ci{
268c2ecf20Sopenharmony_ci	CUBOOT_INIT();
278c2ecf20Sopenharmony_ci	bamboo_init(&bd.bi_enetaddr, &bd.bi_enet1addr);
288c2ecf20Sopenharmony_ci}
29