openwrtv3/openwrt/target/linux/brcm63xx-2.6/patches/001-brcm_boards.patch

34 lines
1.5 KiB
Diff
Raw Normal View History

+ // start from 2nd blk, assume 1st one is always CFE
+ if (boot_loader_type == BOOT_CFE)
+ if (boot_loader_type == BOOT_CFE)
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ case BCM_IMAGE_CFE:
+ if (boot_loader_type == BOOT_CFE) {
+ printk("Illegal CFE size [%d]. Size allowed: [%d]\n",
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ if (boot_loader_type == BOOT_CFE) {
+ case BOARD_IOCTL_GET_CFE_VER:
+ char *vertag = (char *)(FLASH_BASE + CFE_VERSION_OFFSET);
+ if (ctrlParms.strLen < CFE_VERSION_SIZE) {
+ __copy_to_user(ctrlParms.string, vertag+CFE_VERSION_MARK_SIZE, CFE_VERSION_SIZE);
+ * (Linux kernel and CFE share this source file.)
+#ifdef _CFE_
+ if (boot_loader_type == BOOT_CFE)
+ if (boot_loader_type == BOOT_CFE)
+ if (boot_loader_type == BOOT_CFE)
+ * CFE bootline=bcmEnet(0,0)host:vmlinux e=192.169.0.100:ffffff00 h=192.169.0.1