blob: 29567e5d1e99df8f84b20c924e3eecc165a11ec3 [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_nuvoton.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> LpcMapperNuvoton::createNuvotonMapper()
29{
30 /* NOTE: Considered making one factory for both types. */
31 return std::make_unique<LpcMapperNuvoton>();
32}
33
34std::pair<std::uint32_t, std::uint32_t>
35 LpcMapperNuvoton::mapWindow(std::uint32_t address, std::uint32_t length)
36{
37 return std::make_pair(0, 0);
38}
39
40} // namespace blobs