blob: df2b13c07f65ec91ca1c950bb93e0b394d77356e [file] [log] [blame]
Patrick Venture22e38752018-11-21 08:52:49 -08001/*
2 * Copyright 2018 Google Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Patrick Venturee7728422018-11-14 20:16:33 -080017#include "lpc_aspeed.hpp"
18
19#include "lpc_interface.hpp"
20
21#include <cstdint>
22#include <memory>
23#include <utility>
24
25namespace blobs
26{
27
28std::unique_ptr<LpcMapperInterface> LpcMapperAspeed::createAspeedMapper()
29{
30 /* NOTE: considered using a joint factory to create one or the other, for
31 * now, separate factories.
32 */
33 return std::make_unique<LpcMapperAspeed>();
34}
35
36std::pair<std::uint32_t, std::uint32_t>
37 LpcMapperAspeed::mapWindow(std::uint32_t address, std::uint32_t length)
38{
39 return std::make_pair(0, 0);
40}
41
42} // namespace blobs