mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Prabhakar Kushwaha](/assets/img/avatar_default.png)
Add support of 2 stage NAND boot loader using SPL framework. here, PBL initialise the internal SRAM and copy SPL(160KB). This further initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND to DDR. Finally SPL transer control to u-boot. Initialise/create followings required for SPL framework - Add spl.c which defines board_init_f, board_init_r - update tlb and ddr accordingly Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
18 lines
277 B
Makefile
18 lines
277 B
Makefile
#
|
|
# Copyright 2012 Freescale Semiconductor, Inc.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl.o
|
|
else
|
|
obj-y += b4860qds.o
|
|
obj-$(CONFIG_B4860QDS)+= eth_b4860qds.o
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
endif
|
|
|
|
obj-y += ddr.o
|
|
obj-y += law.o
|
|
obj-y += tlb.o
|