X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/88c82cdc9cdd90afa71d4c98a265fd6f5a75f7b2..ab0a79714f445ae17d1ad601ff0628e75f31a430:/target/linux/ramips/files/arch/mips/ralink/common/setup.c?ds=sidebyside diff --git a/target/linux/ramips/files/arch/mips/ralink/common/setup.c b/target/linux/ramips/files/arch/mips/ralink/common/setup.c new file mode 100644 index 000000000..6440ccb01 --- /dev/null +++ b/target/linux/ramips/files/arch/mips/ralink/common/setup.c @@ -0,0 +1,24 @@ +/* + * Ralink SoC common setup + * + * Copyright (C) 2008-2009 Gabor Juhos + * Copyright (C) 2008 Imre Kaloz + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +#include +#include +#include + +#include +#include + +void __init plat_mem_setup(void) +{ + set_io_port_base(KSEG1); + + ramips_soc_setup(); +}