mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
cmd_ide: add support for orion5x
Add MVSATAHC definitions to orion5x. Add support for orion5x in cmd_ide. Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
This commit is contained in:
parent
39419ce589
commit
113bfe48bc
@ -55,6 +55,9 @@
|
|||||||
#define ORION5X_USB20_PORT0_BASE (ORION5X_REGISTER(0x50000))
|
#define ORION5X_USB20_PORT0_BASE (ORION5X_REGISTER(0x50000))
|
||||||
#define ORION5X_USB20_PORT1_BASE (ORION5X_REGISTER(0xA0000))
|
#define ORION5X_USB20_PORT1_BASE (ORION5X_REGISTER(0xA0000))
|
||||||
#define ORION5X_EGIGA_BASE (ORION5X_REGISTER(0x72000))
|
#define ORION5X_EGIGA_BASE (ORION5X_REGISTER(0x72000))
|
||||||
|
#define ORION5X_SATA_BASE (ORION5X_REGISTER(0x80000))
|
||||||
|
#define ORION5X_SATA_PORT0_OFFSET 0x2000
|
||||||
|
#define ORION5X_SATA_PORT1_OFFSET 0x4000
|
||||||
|
|
||||||
/* Orion5x GbE controller has a single port */
|
/* Orion5x GbE controller has a single port */
|
||||||
#define MAX_MVGBE_DEVS 1
|
#define MAX_MVGBE_DEVS 1
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
/*
|
/*
|
||||||
* IDE support
|
* IDE support
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <watchdog.h>
|
#include <watchdog.h>
|
||||||
@ -45,6 +46,10 @@
|
|||||||
#include <mpc5xxx.h>
|
#include <mpc5xxx.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_ORION5X
|
||||||
|
#include <asm/arch/orion5x.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ide.h>
|
#include <ide.h>
|
||||||
#include <ata.h>
|
#include <ata.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user