Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Old U-boot compatibility for Ebony
0004  *
0005  * Author: David Gibson <david@gibson.dropbear.id.au>
0006  *
0007  * Copyright 2007 David Gibson, IBM Corporatio.
0008  *   Based on cuboot-83xx.c, which is:
0009  * Copyright (c) 2007 Freescale Semiconductor, Inc.
0010  */
0011 
0012 #include "ops.h"
0013 #include "stdio.h"
0014 #include "44x.h"
0015 #include "cuboot.h"
0016 
0017 #define TARGET_4xx
0018 #define TARGET_44x
0019 #include "ppcboot.h"
0020 
0021 static bd_t bd;
0022 
0023 void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
0024                    unsigned long r6, unsigned long r7)
0025 {
0026     CUBOOT_INIT();
0027     ebony_init(&bd.bi_enetaddr, &bd.bi_enet1addr);
0028 }