New board support: board dir tree files
PATCH 3/4 New board support: board dir tree files
This is a patch containing all board specific files for the board directory tree.
Signed off by: Ron Madrid <[email protected]>
board/sheldon/simpc8313/Makefile new file +50 -0
@@ -0,0 +1,50 @@ +# +# (C) Copyright 2006 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).a + +COBJS := $(BOARD).o sdram.o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak $(obj).depend + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/sheldon/simpc8313/config.mk new file +13 -0
@@ -0,0 +1,13 @@ +ifndef NAND_SPL +sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp +endif + +ifndef TEXT_BASE +TEXT_BASE = 0xFE000000 +endif + +ifdef CONFIG_NAND_LP +PAD_TO = 0xFFF20000 +else +PAD_TO = 0xFFF04000 +endif
board/sheldon/simpc8313/sdram.c new file +206 -0
206 lines not on this page · raw message
board/sheldon/simpc8313/simpc8313.c new file +147 -0
147 lines not on this page · raw message
Signature · 1 line
1.5.5.1
PATCH 3/4 New board support: board dir tree files
board/sheldon/simpc8313/simpc8313.c line 45
Quoted 9 lines · Ron Madrid
board/sheldon/simpc8313/simpc8313.c new file +9
-0+int board_early_init_f (void ) +{ +volatile immap_t *im = (immap_t *)CFG_IMMR ; + +if (im->pmc.pmccr1 &PMCCR1_POWER_OFF ) + gd->flags |=GD_FLG_SILENT ; + +return 0 ; +}
You include this bit of suspend/resume support from mpc8313erdb, but not the rest.
-Scott