1 // Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 // SPDX-License-Identifier: Apache-2.0 3 // 4 // Portions Copyright 2017 The Chromium OS Authors. All rights reserved. 5 // Use of this source code is governed by a BSD-style license that can be 6 // found in the LICENSE-BSD-3-Clause file. 7 8 mod cmos; 9 #[cfg(feature = "fwdebug")] 10 mod fwdebug; 11 #[cfg(target_arch = "aarch64")] 12 mod gpio_pl061; 13 mod i8042; 14 #[cfg(target_arch = "aarch64")] 15 mod rtc_pl031; 16 mod serial; 17 #[cfg(target_arch = "aarch64")] 18 mod uart_pl011; 19 20 pub use self::cmos::Cmos; 21 #[cfg(feature = "fwdebug")] 22 pub use self::fwdebug::FwDebugDevice; 23 pub use self::i8042::I8042Device; 24 pub use self::serial::Serial; 25 26 #[cfg(target_arch = "aarch64")] 27 pub use self::gpio_pl061::Error as GpioDeviceError; 28 #[cfg(target_arch = "aarch64")] 29 pub use self::gpio_pl061::Gpio; 30 #[cfg(target_arch = "aarch64")] 31 pub use self::rtc_pl031::Rtc; 32 #[cfg(target_arch = "aarch64")] 33 pub use self::uart_pl011::Pl011; 34