diff options
author | Evgeny Zinoviev <me@ch1p.com> | 2019-05-03 02:45:15 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-02-10 16:09:53 +0300 |
commit | a60290605cf884a4dd69905a050572914107704d (patch) | |
tree | c1a5e69705b066ae6c1f106297ce794c14490919 /src/mainboard/apple/macbookair5_2/cmos.layout | |
parent | 656484285782a0d48e2f38cdae7255fe3121cce8 (diff) |
mb/apple: Add MacBook Air 5,2 (A1466) supportmacbookair5_2
What works:
- 4 GiB (Hynix RAM) model
- Linux 4.9, Linux 5.10
- SeaBIOS
- GRUB
- Tianocore
- Wi-Fi
- S3 suspend and resume
- Both USB ports
- Trackpad
- libgfxinit
- me_cleaner
- Speakers
- ACPI support for battery, AC, lid (lid wakeup also works)
- SD card reader
- Camera
- Mic
- usbdebug (usb port on the left side)
Not tested:
- Thunderbolt
Known issues:
- Bad sound in headphones
- Not all memory configurations are supported
Change-Id: I1ebe6f87a8254871698be74f913b9d969d722447
Signed-off-by: Evgeny Zinoviev <me@ch1p.io>
Diffstat (limited to 'src/mainboard/apple/macbookair5_2/cmos.layout')
-rw-r--r-- | src/mainboard/apple/macbookair5_2/cmos.layout | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/src/mainboard/apple/macbookair5_2/cmos.layout b/src/mainboard/apple/macbookair5_2/cmos.layout new file mode 100644 index 0000000000..a71d9d0f80 --- /dev/null +++ b/src/mainboard/apple/macbookair5_2/cmos.layout @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: GPL-2.0-only + +# ----------------------------------------------------------------- +entries + +# ----------------------------------------------------------------- +0 120 r 0 reserved_memory + +# ----------------------------------------------------------------- +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 4 boot_option +388 4 h 0 reboot_counter + +# ----------------------------------------------------------------- +# coreboot config options: console +395 4 e 6 debug_level + +# coreboot config options: southbridge +408 1 e 1 nmi +409 2 e 7 power_on_after_fail + +# coreboot config options: ME +425 1 e 13 me_state +426 2 h 0 me_state_prev + +# coreboot config options: northbridge +432 3 e 11 gfx_uma_size + +# SandyBridge MRC Scrambler Seed values +896 32 r 0 mrc_scrambler_seed +928 32 r 0 mrc_scrambler_seed_s3 +960 16 r 0 mrc_scrambler_seed_chk + +# coreboot config options: check sums +984 16 h 0 check_sum + +# ----------------------------------------------------------------- +enumerations +#ID value text +1 0 Disable +1 1 Enable +2 0 Enable +2 1 Disable +4 0 Fallback +4 1 Normal +6 0 Emergency +6 1 Alert +6 2 Critical +6 3 Error +6 4 Warning +6 5 Notice +6 6 Info +6 7 Debug +6 8 Spew +7 0 Disable +7 1 Enable +7 2 Keep +11 0 32M +11 1 64M +11 2 96M +11 3 128M +11 4 160M +11 5 192M +11 6 224M +13 0 Normal +13 1 Disabled + +# ----------------------------------------------------------------- +checksums +checksum 392 447 984 |