parent
e03dabe86b
commit
844f07d8a1
16
README
16
README
|
@ -2836,15 +2836,15 @@ Low Level (hardware related) configuration options:
|
||||||
globally (CONFIG_CMD_MEM).
|
globally (CONFIG_CMD_MEM).
|
||||||
|
|
||||||
- CONFIG_SKIP_LOWLEVEL_INIT
|
- CONFIG_SKIP_LOWLEVEL_INIT
|
||||||
[ARM only] If this variable is defined, then certain
|
[ARM only] If this variable is defined, then certain
|
||||||
low level initializations (like setting up the memory
|
low level initializations (like setting up the memory
|
||||||
controller) are omitted and/or U-Boot does not
|
controller) are omitted and/or U-Boot does not
|
||||||
relocate itself into RAM.
|
relocate itself into RAM.
|
||||||
|
|
||||||
Normally this variable MUST NOT be defined. The only
|
Normally this variable MUST NOT be defined. The only
|
||||||
exception is when U-Boot is loaded (to RAM) by some
|
exception is when U-Boot is loaded (to RAM) by some
|
||||||
other boot loader or by a debugger which performs
|
other boot loader or by a debugger which performs
|
||||||
these initializations itself.
|
these initializations itself.
|
||||||
|
|
||||||
- CONFIG_PRELOADER
|
- CONFIG_PRELOADER
|
||||||
Modifies the behaviour of start.S when compiling a loader
|
Modifies the behaviour of start.S when compiling a loader
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
|
@ -53,7 +53,7 @@ HOSTSTRIP = strip
|
||||||
#
|
#
|
||||||
# Mac OS X / Darwin's C preprocessor is Apple specific. It
|
# Mac OS X / Darwin's C preprocessor is Apple specific. It
|
||||||
# generates numerous errors and warnings. We want to bypass it
|
# generates numerous errors and warnings. We want to bypass it
|
||||||
# and use GNU C's cpp. To do this we pass the -traditional-cpp
|
# and use GNU C's cpp. To do this we pass the -traditional-cpp
|
||||||
# option to the compiler. Note that the -traditional-cpp flag
|
# option to the compiler. Note that the -traditional-cpp flag
|
||||||
# DOES NOT have the same semantics as GNU C's flag, all it does
|
# DOES NOT have the same semantics as GNU C's flag, all it does
|
||||||
# is invoke the GNU preprocessor in stock ANSI/ISO C fashion.
|
# is invoke the GNU preprocessor in stock ANSI/ISO C fashion.
|
||||||
|
@ -262,7 +262,7 @@ $(obj)%.s: %.c
|
||||||
|
|
||||||
# If the list of objects to link is empty, just create an empty built-in.o
|
# If the list of objects to link is empty, just create an empty built-in.o
|
||||||
cmd_link_o_target = $(if $(strip $1),\
|
cmd_link_o_target = $(if $(strip $1),\
|
||||||
$(LD) -r -o $@ $1 ,\
|
$(LD) -r -o $@ $1 ,\
|
||||||
rm -f $@; $(AR) rcs $@ )
|
rm -f $@; $(AR) rcs $@ )
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
|
@ -35,10 +35,10 @@
|
||||||
* CONFIG_SYS_KWD_CONFIG should be defined in board specific header file
|
* CONFIG_SYS_KWD_CONFIG should be defined in board specific header file
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_SYS_KWD_CONFIG
|
#ifndef CONFIG_SYS_KWD_CONFIG
|
||||||
#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage.cfg
|
#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage.cfg
|
||||||
#endif /* CONFIG_SYS_KWD_CONFIG */
|
#endif /* CONFIG_SYS_KWD_CONFIG */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CONFIG_SYS_TEXT_BASE can be defined in board specific header file, if needed
|
* CONFIG_SYS_TEXT_BASE can be defined in board specific header file, if needed
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_SYS_TEXT_BASE
|
#ifndef CONFIG_SYS_TEXT_BASE
|
||||||
|
|
|
@ -45,16 +45,16 @@
|
||||||
#define CONFIG_KIRKWOOD_RGMII_PAD_1V8 /* Set RGMII Pad voltage to 1.8V */
|
#define CONFIG_KIRKWOOD_RGMII_PAD_1V8 /* Set RGMII Pad voltage to 1.8V */
|
||||||
#define CONFIG_KIRKWOOD_PCIE_INIT /* Enable PCIE Port0 for kernel */
|
#define CONFIG_KIRKWOOD_PCIE_INIT /* Enable PCIE Port0 for kernel */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* By default kwbimage.cfg from board specific folder is used
|
* By default kwbimage.cfg from board specific folder is used
|
||||||
* If for some board, different configuration file need to be used,
|
* If for some board, different configuration file need to be used,
|
||||||
* CONFIG_SYS_KWD_CONFIG should be defined in board specific header file
|
* CONFIG_SYS_KWD_CONFIG should be defined in board specific header file
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_SYS_KWD_CONFIG
|
#ifndef CONFIG_SYS_KWD_CONFIG
|
||||||
#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage.cfg
|
#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage.cfg
|
||||||
#endif /* CONFIG_SYS_KWD_CONFIG */
|
#endif /* CONFIG_SYS_KWD_CONFIG */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CONFIG_SYS_TEXT_BASE can be defined in board specific header file, if needed
|
* CONFIG_SYS_TEXT_BASE can be defined in board specific header file, if needed
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_SYS_TEXT_BASE
|
#ifndef CONFIG_SYS_TEXT_BASE
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
#define CONFIG_CONSOLE_INFO_QUIET /* some code reduction */
|
#define CONFIG_CONSOLE_INFO_QUIET /* some code reduction */
|
||||||
#define CONFIG_ARCH_CPU_INIT /* call arch_cpu_init() */
|
#define CONFIG_ARCH_CPU_INIT /* call arch_cpu_init() */
|
||||||
#define CONFIG_ARCH_MISC_INIT /* call arch_misc_init() */
|
#define CONFIG_ARCH_MISC_INIT /* call arch_misc_init() */
|
||||||
#define CONFIG_BOARD_EARLY_INIT_F /* call board_init_f for early inits */
|
#define CONFIG_BOARD_EARLY_INIT_F /* call board_init_f for early inits */
|
||||||
#define CONFIG_DISPLAY_CPUINFO /* Display cpu info */
|
#define CONFIG_DISPLAY_CPUINFO /* Display cpu info */
|
||||||
#define CONFIG_NR_DRAM_BANKS 4
|
#define CONFIG_NR_DRAM_BANKS 4
|
||||||
#define CONFIG_STACKSIZE 0x00100000 /* regular stack- 1M */
|
#define CONFIG_STACKSIZE 0x00100000 /* regular stack- 1M */
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
|
@ -28,9 +28,9 @@ HEADERS := fw_env.h
|
||||||
|
|
||||||
# Compile for a hosted environment on the target
|
# Compile for a hosted environment on the target
|
||||||
HOSTCPPFLAGS = -idirafter $(SRCTREE)/include \
|
HOSTCPPFLAGS = -idirafter $(SRCTREE)/include \
|
||||||
-idirafter $(OBJTREE)/include2 \
|
-idirafter $(OBJTREE)/include2 \
|
||||||
-idirafter $(OBJTREE)/include \
|
-idirafter $(OBJTREE)/include \
|
||||||
-DUSE_HOSTCC
|
-DUSE_HOSTCC
|
||||||
|
|
||||||
ifeq ($(MTD_VERSION),old)
|
ifeq ($(MTD_VERSION),old)
|
||||||
HOSTCPPFLAGS += -DMTD_OLD
|
HOSTCPPFLAGS += -DMTD_OLD
|
||||||
|
|
Loading…
Reference in New Issue