While very convenient during debugging having MAC addresses in default
environments is a very bad idea. Stop it!
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
- Add NAND resources
- Add booting from NAND
- Move parts of lowlevel_init to C-Code to save space in bare_init
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Memory layout can now be specified via kconfig options. Two
possibilities exist: default layout means the layout is stack
/ malloc heap / U-Boot. The user can also specify fixed addresses
for each TEXT_BASE / stack / malloc heap.
values into kconfig which are not user configurable at all only
encourages people to put even more stuff in there. This is not
good because people tend to have board patches lying around and
these patches won't apply regularly if they all change the same
file (arch/arm/Kconfig)
Instead, introduce a function armlinux_set_architecture() which
everyone can call during board setup.
Similarly introduce armlinux_set_bootparams() for the boot
parameter pointer.
Add init code for the CS0 flash timing registers. These values are not
optimized yet, they are more or less copied from the Windows CE
installation.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Add a default environment for the phyCORE-i.MX27.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
The i.MX27 can only run at 200 MHz ARM core frequency when being powered
by 1.2 V. Fix init sequence to reflect this behaviour.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>