Skip to content

Commit

Permalink
Add Freescale / Kobo patches
Browse files Browse the repository at this point in the history
Used https://github.com/kobolabs/Kobo-Reader/blob/master/hw/imx507-aura/u-boot-2009.08.bz2?raw=true
sha256 d31807b40335cb5735b94e313bf89ce9008be43498c33fcd6bfac22be9fa01f6
  • Loading branch information
lgeek committed Jan 4, 2016
1 parent 3d35d87 commit 8892136
Show file tree
Hide file tree
Showing 384 changed files with 151,394 additions and 1,432 deletions.
74 changes: 74 additions & 0 deletions Makefile
Expand Up @@ -223,6 +223,7 @@ LIBS += drivers/pci/libpci.a
LIBS += drivers/pcmcia/libpcmcia.a
LIBS += drivers/power/libpower.a
LIBS += drivers/spi/libspi.a
LIBS += drivers/fastboot/libfastboot.a
ifeq ($(CPU),mpc83xx)
LIBS += drivers/qe/qe.a
endif
Expand Down Expand Up @@ -3204,6 +3205,16 @@ apollon_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx
@echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk

mx23_evk_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm926ejs mx23_evk freescale mx23

mx25_3stack_mfg_config \
mx25_3stack_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm926ejs mx25_3stack freescale mx25

mx28_evk_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm926ejs mx28_evk freescale mx28

imx31_litekit_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31

Expand All @@ -3229,6 +3240,69 @@ mx31pdk_nand_config : unconfig
fi
@$(MKCONFIG) -a mx31pdk arm arm1136 mx31pdk freescale mx31

mx31_3stack_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm1136 mx31_3stack freescale mx31

mx35_3stack_config \
mx35_3stack_mfg_config \
mx35_3stack_mmc_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm1136 mx35_3stack freescale mx35

mx50_arm2_lpddr2_config \
mx50_arm2_ddr2_config \
mx50_arm2_iram_config \
mx50_arm2_config \
mx50_arm2_mfg_config \
mx50_rdp_iram_config \
mx50_rd3_config \
mx50_rd3_mfg_config \
mx50_rdp_mfg_config \
mx50_rdp_android_config \
mx50_rdp_mddr_128_config \
mx50_rdp_ddr2_128_config \
mx50_rdp_mddr_512_config \
mx50_rdp_config : unconfig
@[ -z "$(findstring iram_,$@)" ] || \
{ echo "TEXT_BASE = 0xF8008400" >$(obj)board/freescale/mx50_rdp/config.tmp ; \
echo "... with iram configuration" ; \
}
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx50_rdp freescale mx50

mx51_bbg_android_config \
mx51_bbg_mfg_config \
mx51_bbg_iram_config \
mx51_bbg_config : unconfig
@[ -z "$(findstring iram_,$@)" ] || \
{ echo "TEXT_BASE = 0x1FFE5000" >$(obj)board/freescale/mx51_bbg/config.tmp ; \
echo "... with iram configuration" ; \
}
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx51_bbg freescale mx51

mx51_3stack_android_config \
mx51_3stack_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx51_3stack freescale mx51

mx53_smd_mfg_config \
mx53_smd_android_config \
mx53_smd_config :unconfig
$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx53_smd freescale mx53

mx53_loco_mfg_config \
mx53_loco_config :unconfig
$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx53_loco freescale mx53

mx53_ard_ddr3_config \
mx53_ard_mfg_config \
mx53_ard_config : unconfig
$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx53_ard freescale mx53

mx53_arm2_ddr3_config \
mx53_arm2_ddr3_android_config \
mx53_evk_android_config \
mx53_evk_mfg_config \
mx53_evk_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx53_evk freescale mx53

omap2420h4_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx

Expand Down
2 changes: 2 additions & 0 deletions board/freescale/common/Makefile
Expand Up @@ -36,11 +36,13 @@ COBJS-${CONFIG_FSL_PIXIS} += pixis.o
COBJS-${CONFIG_PQ_MDS_PIB} += pq-mds-pib.o
COBJS-${CONFIG_ID_EEPROM} += sys_eeprom.o
COBJS-${CONFIG_FSL_SGMII_RISER} += sgmii_riser.o
COBJS-${CONFIG_VIDEO_MX5} += fsl_bmp_600x400.o

COBJS-${CONFIG_MPC8541CDS} += cds_pci_ft.o
COBJS-${CONFIG_MPC8548CDS} += cds_pci_ft.o
COBJS-${CONFIG_MPC8555CDS} += cds_pci_ft.o

COBJS-${CONFIG_ANDROID_RECOVERY} += recovery.o

SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS-y))
Expand Down

0 comments on commit 8892136

Please sign in to comment.