blob: 29567e5d1e99df8f84b20c924e3eecc165a11ec3 [file] [log] [blame]
/*
* Copyright 2018 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "lpc_nuvoton.hpp"
#include "lpc_interface.hpp"
#include <cstdint>
#include <memory>
#include <utility>
namespace blobs
{
std::unique_ptr<LpcMapperInterface> LpcMapperNuvoton::createNuvotonMapper()
{
/* NOTE: Considered making one factory for both types. */
return std::make_unique<LpcMapperNuvoton>();
}
std::pair<std::uint32_t, std::uint32_t>
LpcMapperNuvoton::mapWindow(std::uint32_t address, std::uint32_t length)
{
return std::make_pair(0, 0);
}
} // namespace blobs