blob: ea4cf931db01ce7ce5c91e006819973285b3a9c2 [file] [log] [blame]
* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
* Alternatively, this software may be distributed under the terms of the
* GNU General Public License ("GPL") version 2 as published by the Free
* Software Foundation.
#include <common.h>
#include <physmem.h>
#include <asm/io.h>
__weak phys_addr_t arch_phys_memset(phys_addr_t s, int c, phys_size_t n)
void *s_ptr = map_sysmem(s, n);
memset(s_ptr, c, n);
return s;