summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/ArmJunoPkg/Include
diff options
context:
space:
mode:
authorRonald Cron <ronald.cron@arm.com>2015-04-01 14:46:52 +0000
committeroliviermartin <oliviermartin@Edk2>2015-04-01 14:46:52 +0000
commitc1fee786c14cf02ea9dd2a18d00be26bfee96907 (patch)
treecc200b606fa9bd0d514b4b43d3182e6e27527e1e /ArmPlatformPkg/ArmJunoPkg/Include
parent58bc40654eda202a863a7cca27baae4f4b47604d (diff)
downloadedk2-platforms-c1fee786c14cf02ea9dd2a18d00be26bfee96907.tar.xz
ArmPlatformPkg/ArmJunoDxe: Add PCI GBE MAC address to Juno R1 boot options
On Juno R1, the MAC address assigned to the PCI Gigabyte Ethernet device as to be passed to the Linux Kernel. The MAC address is passed to the Linux Kernel by means of the boot argument "sky2.mac_address". This patch adds this boot argument to the lists of boot arguments of the two Juno R1 default boot options. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17095 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmJunoPkg/Include')
-rw-r--r--ArmPlatformPkg/ArmJunoPkg/Include/ArmPlatform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmJunoPkg/Include/ArmPlatform.h b/ArmPlatformPkg/ArmJunoPkg/Include/ArmPlatform.h
index badd7a64fb..c0a2b71484 100644
--- a/ArmPlatformPkg/ArmJunoPkg/Include/ArmPlatform.h
+++ b/ArmPlatformPkg/ArmJunoPkg/Include/ArmPlatform.h
@@ -80,4 +80,12 @@
// Define if the exported ACPI Tables are based on ACPI 5.0 spec or latest
//#define ARM_JUNO_ACPI_5_0
+//
+// Address of the system registers that contain the MAC address
+// assigned to the PCI Gigabyte Ethernet device.
+//
+
+#define ARM_JUNO_SYS_PCIGBE_L (ARM_VE_BOARD_PERIPH_BASE + 0x74)
+#define ARM_JUNO_SYS_PCIGBE_H (ARM_VE_BOARD_PERIPH_BASE + 0x78)
+
#endif